PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Installs and Upgrade - vBulletin 3.5.X (http://www.photopost.com/forum/installs-upgrade-vbulletin-3-5-x/)
-   -   Gallery down. This is the error. (http://www.photopost.com/forum/installs-upgrade-vbulletin-3-5-x/119411-gallery-down-error.html)

spaghie October 20th, 2005 09:53 AM

Gallery down. This is the error.
 
It was running fine but now i got this:

Warning: Division by zero in /includes/functions.php(4259) : eval()'d code on line 10

:confused:

Brian October 20th, 2005 02:07 PM

Re: Gallery down. This is the error.
 
Can you post what you have for line 4259 in your includes/functions.php file?

spaghie October 20th, 2005 02:15 PM

Re: Gallery down. This is the error.
 
Quote:

4256 // parse PHP include ##################
4257 if (!is_demo_mode())
4258 {
4259 ($hook = vBulletinHook::fetch_hook('global_complete')) ? eval($hook) : false;
4260 }

if ($vbulletin->options['gzipoutput'] AND !headers_sent())
{
$output = fetch_gzipped_text($output, $vbulletin->options['gziplevel']);

if ($sendheader AND $vbulletin->donegzip)
{
@header('Content-Length: ' . strlen($output));
}

Brian October 20th, 2005 03:13 PM

Re: Gallery down. This is the error.
 
Turn off the plugin that you're using in your 'global_complete' section.

spaghie October 20th, 2005 03:23 PM

Re: Gallery down. This is the error.
 
Turned it off and I get a blank page... no errors though.

Brian October 21st, 2005 09:46 AM

Re: Gallery down. This is the error.
 
Do you have any other plugins installed? If so, try turning them off. Also make sure you have the correct path in your gallery_config.php file.

spaghie October 21st, 2005 03:25 PM

Re: Gallery down. This is the error.
 
Turned off all my plugins, no change.

spaghie October 21st, 2005 05:18 PM

Re: Gallery down. This is the error.
 
I had my paths correct, and checked with plugins off and plugins on and made no difference.
But I got it to run again...it is all working fine.
I ran vbagallery_install.php again, reinstalled all images, templates and phrases.
I'm inclined to think that the problem was actually a template update...but problem solved.


All times are GMT -5. The time now is 09:35 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97