TinyPortal

Development => Support => Topic started by: JosephOhSnap on September 10, 2009, 05:20:02 AM

Title: Articles and Categories page not appearing
Post by: JosephOhSnap on September 10, 2009, 05:20:02 AM
When i go Admin>TinyPortal>Articles and Categories, it loads a blank page. The same thing happens when i click on the "Manage Articles" button on the User Panel.

Link to my site: http://www.vulgardisplayclan.com/smf
SMF version: 1.1.10
TP version: v1.083 beta 4
Theme name and version: SMF Default Theme Core (1.1.5)
Browser Name and Version: Opera 10.0, Firefox 3.0.13, and Internet Explorer 8 (IE 8.0.6001.18813IC)
Mods installed:
1.   Aeva ~ Auto-Embed Video & Audio   6.9.101
2.   Anonymous Boards   0.3b
3.   TinyPortal   1.083

I would be happy to promote a respected TinyPortal admin or member to administrator on my website if it would help with the diagnosis.
Thank you for your time


My Apologies
Originally posted in Installation sub-forum. Reposted here with the intention of trashing the original (http://www.tinyportal.net/index.php/topic,30838.0.html). I then found out i do not have the permission to delete topics. So, to any mods that may be reading this: feel free to trash it. Sorry for the spam.
I searched the forums and didn't find anything like this, so i started a new topic. Sorry if it has been answered already and i missed it.
Title: Re: Articles and Categories page not appearing
Post by: IchBin on September 10, 2009, 05:25:39 AM
Can you check your apache server logs? Sounds like you may have your php memory set too low.
Title: Re: Articles and Categories page not appearing
Post by: JosephOhSnap on September 10, 2009, 06:00:15 AM
Again, sorry about the cross post. Feel free to trash it.
My website is being hosted by Darkstar (https://www.darkstarllc.com/), and i can't be sure whether or not this is the apache log, because i am not an expert on it, but here it goes.
These 2 errors seem to be everywhere in the log

[error] [client 24.160.156.124] File does not exist: /home/shaqatta/shaqattackclan.com/html/favicon.ico, referer: http://www.vulgardisplayclan.com/smf/index.php
obvious "lack of favicon" error message. i will add one as soon as i finish this post.

[client 24.160.156.124] PHP Fatal error: Call to undefined function: get2by2host_copyright() in /chroot/home/shaqatta/shaqattackclan.com/html/smf/Sources/Load.php(1748) : eval()'d code on line 373, referer: http://www.vulgardisplayclan.com/smf/index.php?action=forum
This one seems to appear every time somebody loads the home page. No idea what it means.

The thing i find odd is that when i click on the Articles and Categories button, ( index.php?action=tpadmin;sa=articles ) nothing gets added to the log.
Title: Re: Articles and Categories page not appearing
Post by: G6Cad on September 10, 2009, 06:11:06 AM
Make sure you intalled TP correctly.

How do I manually install TinyPortal (http://docs.tinyportal.co.uk/index.php?topic=29)

Modification Instructions (http://docs.tinyportal.co.uk/index.php/topic,139.html)
Title: Re: Articles and Categories page not appearing
Post by: JosephOhSnap on September 10, 2009, 07:30:33 AM
@G6
I just finished following those tutorials. I only needed to make edits on 1 or 2 of the files. Unfortunately, the problem still persists.

@IchBin
I don't know how to go about changing my php memory. As i said earlier, i am not very knowledgeable in this field.
Title: Re: Articles and Categories page not appearing
Post by: JosephOhSnap on September 10, 2009, 08:42:25 AM
Looks like i have stumbled across more problems.  :-\

When i press the "Add left block" button in the Admin>TinyPortal>Panels and Blocks menu, it brings me to a blank screen. However, when i return to the Panels and Blocks menu, a blank block has, in fact, been created. While this is not a problem that needs fixing, it might help point you in the right direction.
URL it brings me to
http://www.vulgardisplayclan.com/smf/index.php?action=tpadmin;blockedit=11;sesc=b5d52b5d7b7512cb77b645532f3cd3ef

When i Try to hit the edit button on a Panel block with "BBC Code" selected as the type, it brings me to a blank screen as well. That seemed like a bad description so i included a picture. I am going to be perfectly honest and say that i have no idea what bbc code is. But once again, i thought it might help you diagnose the problem.
URL it brings me to
http://www.vulgardisplayclan.com/smf/index.php?action=tpadmin;blockedit=10;sesc=b5d52b5d7b7512cb77b645532f3cd3ef

In my completely unprofessional and uneducated opinion, all of this points to a bad install. It is possible that i did the manual install wrong, but i wanted to rule out other possibilities before going through all of that work again.
Thank you all once again for your continued help on all of this.
Title: Re: Articles and Categories page not appearing
Post by: G6Cad on September 10, 2009, 10:26:02 AM
Think you should consult your host about the memory settings on the server like Ichbin said.
If the code are there, tp is installed properly you should not have issues like this. Blank screens with these facts are 99% a host a nd server settings issue.
( memory, permissions that have to be 755 for ALL folders and 644 for ALL files and owner to these files and folders have to be you and not the apache)
Title: Re: Articles and Categories page not appearing
Post by: JosephOhSnap on September 10, 2009, 10:41:04 PM
Quote from: G6 on September 10, 2009, 10:26:02 AM
permissions have to be 755 for ALL folders and 644 for ALL files
It took a while, but i maunually changed every file in the entire smf install to these permissions individually.  :-\

Quote from: G6 on September 10, 2009, 10:26:02 AM
owner to these files and folders have to be you and not the apache
They already were.

I am still not entirely sure what php memory is, but i will contact my host again to see if they can change it.
Title: Re: Articles and Categories page not appearing
Post by: JosephOhSnap on September 10, 2009, 11:08:42 PM
They want to know what to change it to. I will be searching this website for documentation on that while waiting for a response.
Title: Re: Articles and Categories page not appearing
Post by: JosephOhSnap on September 10, 2009, 11:13:35 PM
Oops... Looks like this is one of the common problems around here. If i had had any experience with php, i would have probably known what to have searched in the first place.

Yup, that did the trick. Thank you G6 and IchBin  :)
Title: Re: Articles and Categories page not appearing
Post by: JosephOhSnap on September 11, 2009, 12:41:28 AM
Oh dear, now it seems like i can't post any articles without seeing the white screen.  :'(
Title: Re: Articles and Categories page not appearing
Post by: IchBin on September 11, 2009, 01:04:25 AM
Check your server apache logs and see what error you are getting when you get the white page.
Title: Re: Articles and Categories page not appearing
Post by: JosephOhSnap on September 11, 2009, 01:08:32 AM
[client 24.160.156.124] PHP Fatal error: Call to undefined function: get2by2host_copyright() in /chroot/home/shaqatta/shaqattackclan.com/html/smf/Sources/Load.php(1748) : eval()'d code on line 373, referer: http://www.vulgardisplayclan.com/smf/index.php/board,13.0.html

Fatal Error  :-\
Title: Re: Articles and Categories page not appearing
Post by: IchBin on September 11, 2009, 01:12:09 AM
That is not an error caused by tinyportal. It is from another mod you have installed. I'd suggest you search at SMF for your problem.
Title: Re: Articles and Categories page not appearing
Post by: JosephOhSnap on September 11, 2009, 10:28:00 PM
I was attempting to put the site into maintenance mode to disable plug-ins individually to find out which was causing the problem, when i got these error messages.

These settings cannot be changed because Settings.php is read only.
So i went to the file manager and checked off every available box in the chmod (rwx rwx rwx rwx) and i was able to write to that file... until i saw this.

Failed to make backup of Settings.php - make sure Settings_bak.php exists and is writable.
I then checked off all of the boxes on that file as well, but i am still getting that message.

I am starting to regret changing the file permissions on everything.  :-\
Title: Re: Articles and Categories page not appearing
Post by: ZarPrime on September 12, 2009, 02:52:07 AM
JosephOhSnap,

Something in your SMF install, and possibly in your TP install, has become corrupted.  You can tell this by taking a look at the bottom of your site and comparing it to what the site should look like.  Scroll to the very bottom of your site and make note of everything from "TinyPortal v1.0 beta 4 Ã,© Bloc" and below.  Note that the SMF copyright is not centered below the TP copyright on your site.  Also, notice that there are 2 images (with links to http://www.mysql.com/ and http://www.php.net/) on the left side.  Now, take a look at the same thing on the TP Team test site (http://www.tinyportal.net/index.php).  Scroll down and look at the bottom.  Note that both the TP and SMF copyrights are centered and also note the presence of the other 2 images (with links) below them on the right side, for a total of 4 image links (your site only has the 2 on the left).  This is how the footer should appear on your page as well.

Also, I tried to look at your site without blocks using this link and it doesn't work ...
http://www.vulgardisplayclan.com/smf/index.php?action=forum;noblocks

This is an indication that some code is either missing or corrupted.

I suggest that what you need to do is download the SMF large upgrade package, unzip it into a temp folder on your computer, and upload (and overwrite) the files contained within it to your site.  This will wipe out all your Mods (including TP) but your Forum and it's posts will be preserved.  After that, you can apply your Mods again one at a time.  I would start with TP first, and make sure that they are applied correctly.  This should fix your SMF install.

Once you have done that you can apply your other Mods back in, one at a time, stopping each time to make sure each one is working.

Let us know if you need additional help along the way.

ZarPrime
Title: Re: Articles and Categories page not appearing
Post by: IchBin on September 12, 2009, 05:23:29 AM
I think noblocks is only available if you are admin Zar.
Title: Re: Articles and Categories page not appearing
Post by: ZarPrime on September 12, 2009, 02:09:00 PM
@Ichbin, you're right.  My bad.  I remember thinking at one time that it worked for anyone, but I just tried it.  In any case, there is still something that is not quite right with his install.

Edit:  Hmmm, I just looked at his site and magically, everything appears as it should now, so maybe the SMF fairies fixed it for him overnight. ::)

ZP
Title: Re: Articles and Categories page not appearing
Post by: JosephOhSnap on September 12, 2009, 11:17:23 PM
No ZarPrime, i ended up doing what you said. But i still get the white screen when i try to post an article. I still don't know what is causing that.
Title: Re: Articles and Categories page not appearing
Post by: JosephOhSnap on September 17, 2009, 02:09:22 AM
Bump.
Still not able to post articles. Any ideas?


Also, on a unimportant issue:
How to i make the shout-box bigger?
Don't feel obligated to answer issue 2, but i need help with the first one to continue with development.

Thanks in advanced, because i know you saints will fix this :)
Title: Re: Articles and Categories page not appearing
Post by: G6Cad on September 17, 2009, 05:46:29 AM
We cant help you any further, we have given you the pointers we can on this issue and one of them WILL work.
At this time, all you can do is what we already told you, start over and reinstall everything and this time, stay with the default theme until everything is working as you want it to. THEN add your custom theme and work on that until that works the way you want. This is to messy for any of us to give any more help on.