Thread: Blank page
View Single Post
  #2  
Old 05-06-2007, 04: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