PhotoPlog

Go Back   PhotoPlog > PhotoPlog Lite > Troubleshooting & Problems
Screens Demo Purchase Download Register

Reply
Attention: Last reply in this thread was more than 17 Years ago
 
Thread Tools
  #1  
Old 05-05-2007, 10:10 PM
Bashy Bashy is offline
Green Plog
 
Join Date: Mar 2006
Posts: 17
Gallery: 0
Comments: 0
Default Blank page

Hi

Just noticed that mine now gives a blank page when going to http://www.bashys-place.com/photoplog/index.php so i just tried the upgrade and chose the 3.6 version, I have also checked the config and it is still the same (100% correct) i am totally baffled, any advice pleas?

This is the error i got when using the original path that it used to be without the /usr/

Code:
Content visible to registered users only.
I added /usr/ as the php file said when it checked for the correct dir and this is the error is gives now

Code:
Content visible to registered users only.
As you can see i did a search here and added the code that shows the errors
I also created the php file to get my full forum dir and added it.
I made sure the folder images permissions are 777
I rebuilt bitfields (just in case)
I checked all permissions for me and there 100% ok

Not sure what else to check

Any advice please,

Regards

Bashy

Last edited by Bashy; 05-05-2007 at 10:14 PM..
Reply With Quote
  #2  
Old 05-06-2007, 05:34 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

Let's look at the first warning:
Code:
Content visible to registered users only.
This error says that there is a problem happening at line 4946 of the vB /includes/functions.php file. Line 4946 is the global_complete hook. The error also says that line 186 of some plugin you have that is using the global_complete hook is where the problem resides. The actual error is that /includes/functions_forumlist.php cannot be found, meaning that the plugin might not be using the constant vB DIR when it tries to include the functions_forumlist.php file. PhotoPlog doesn't use the functions_forumlist.php file or the global_complete hook, so it is a different modification, one using the global_complete hook, that you need to edit.

Let's look at the second warning:
Code:
Content visible to registered users only.
This error says that there is a problem happening at line 458 of the PhotoPlog functions.php file. Line 458 is uses the vB fetch_template function to set the navbar. The error also implies that a plugin is being evaluated, and that there is a problem on line 204 of the plugin. However, there are no hooks in either the lite version of PhotoPlog or the vB fetch_template function. Given the second warning started happening after you added /usr to the PhotoPlog config file, remove the /usr bit from the PhotoPlog config file so that the path starts with /home instead. Presumably that change makes it so you get the first warning instead.

Now, as to the first warning, you need to find the plugin, the one using the global_complete hook, where there is an include or require statement made for the /includes/functions_forumlist.php file and set the path using the vB DIR constant, and that should get rid of the warning. Please note that the warning is coming from another modification, not PhotoPlog, but shows up in PhotoPlog because the plugin using the global_complete hook is looking for the /includes/functions_forumlist.php file in the wrong directory when in the gallery.

Once you find the plugin, please let me know the name of the modification, as this functions_forumlist.php related issue has come up a few times. However, as I currently have no idea as to what modification's plugin is apparently not setting the path to functions_forumlist.php correctly, I cannot tell anyone what plugin to edit other than to say it is a plugin looking for the functions_forumlist.php file from the global_complete hook.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #3  
Old 05-06-2007, 06:04 PM
Bashy Bashy is offline
Green Plog
 
Join Date: Mar 2006
Posts: 17
Gallery: 0
Comments: 0
Default

Hi Morgan

Thank you very much for a detailed analysis of my issue, thats actually one of the best support responses i have ever had, it actually explains exactly what is going on, I will go through all the products fisrt disabling them 1 by 1 as i am sure it will be a product i have installed recently, I will then report back to you...

Thank you so much for your time...

Regards

Bashy
www.bashys-place.com
www.bashys-hosting.com
Reply With Quote
  #4  
Old 05-06-2007, 06:12 PM
Bashy Bashy is offline
Green Plog
 
Join Date: Mar 2006
Posts: 17
Gallery: 0
Comments: 0
Default

!st one i tried resolved the issue of the blank page, the hack is
Forum Archive List Footer I am not too bothered with a fix as i am gonna remove it now (the acrhive hack that is)
I also removed the /usr/ from the path...

I can now enter Photoplog but i get this at the top of the page
Code:
Content visible to registered users only.
It looks like the /usr/ is still in the path but its definitely not 100% its not

I suppose if i turn off the error reporting then the error will hide and we would be none the wiser as
Photoplog appears to be working ok now
Regards

Bashy
www.bashys-place.com
www.bashys-hosting.com

Last edited by Bashy; 05-06-2007 at 06:19 PM..
Reply With Quote
  #5  
Old 05-06-2007, 06:18 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

In the Forum Archive List Forum Footer plugin located at the global_complete hook find:
Code:
Content visible to registered users only.
And replace with the following:
Code:
Content visible to registered users only.
For the remaining warning, did you remove /usr from the PhotoPlog config file?
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #6  
Old 05-06-2007, 06:22 PM
Bashy Bashy is offline
Green Plog
 
Join Date: Mar 2006
Posts: 17
Gallery: 0
Comments: 0
Default

Ah ya caught me mid editing my post lol, Yes i just put that in the post above, the /usr/ has deffo gone from the path

Code:
Content visible to registered users only.
is whats in there now, I have removed the error reporting line now as well
Reply With Quote
  #7  
Old 05-06-2007, 06:25 PM
Bashy Bashy is offline
Green Plog
 
Join Date: Mar 2006
Posts: 17
Gallery: 0
Comments: 0
Default

The edit for the forum footer archive worked well thank you very much.
Reply With Quote
  #8  
Old 05-06-2007, 06:25 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

Do you have the following for line 458 of the PhotoPlog functions.php file, and if so, do you have any modification that affects the navbar or the vB fetch_template function? When you see "eval()'d code on line 204" as part of an error message, that usually indicates that there is a problem with a plugin, line 204 of the plugin in this case, but as there is no hook on line 458 of the PhotoPlog functions.php file, the error might be coming from some modification that affects the navbar or the vB fetch_template function where in_array is used as part of the modification.
Code:
Content visible to registered users only.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #9  
Old 05-06-2007, 06:52 PM
Bashy Bashy is offline
Green Plog
 
Join Date: Mar 2006
Posts: 17
Gallery: 0
Comments: 0
Default

Yep, i have exactly the same Morgan, i did a search for your line to make sure it was character for character
Reply With Quote
  #10  
Old 05-06-2007, 07:01 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

Turn error reporting back on and temporarily replace this:
Code:
Content visible to registered users only.
With the following:
Code:
Content visible to registered users only.
Then see if you still get the in_array warning.

If you no longer get the in_array warning, look at your navbar template. Do you use in_array in any navbar template conditional? If so, what is the conditional?
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
Reply

« Previous Thread | Next Thread »

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Blank page and I think I've tried everything phyc Troubleshooting & Problems 7 03-24-2008 04:04 PM
Blank page on upload. lordtopcat Troubleshooting & Problems 6 03-09-2008 05:51 PM
Blank Page... Zacarias Troubleshooting & Problems 21 03-05-2006 03:24 PM


All times are GMT. The time now is 03:02 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.