PhotoPlog

PhotoPlog (http://www.photoplog.com/forum/index.php)
-   Troubleshooting & Problems (http://www.photoplog.com/forum/forumdisplay.php?f=6)
-   -   DB error after fresh install (http://www.photoplog.com/forum/showthread.php?t=56)

silvert 01-31-2006 05:09 PM

DB error after fresh install
 
i prompted ?morgan? back on Vbulletin.org but i have yet to get it resolved...

here is the error i get
Code:

vBulletin datastore error caused by one or more of the following:

  1. You may have uploaded vBulletin 3.5 files without also running the vBulletin 3.5 upgrade script. If you have not run the upgrade script, do so now.
  2. The datastore cache may have been corrupted. Run Rebuild Bitfields from tools.php, which you can upload from the do_not_upload folder of the vBulletin package.


Fatal error: vBulletin datastore cache incomplete or corrupt in /includes/init.php on line 185

any ideas?

before you told me(and my co admin) to reupload everything and i have done that as well as uninstall/reinstall as well as try the new version(1.0.6.2). all of which has come up with the same error. i am completley out of ideas and need to get a gallery up. :)

Morgan 02-01-2006 07:59 AM

That is a bizarre error, not sure what is causing it. I've been all over vBorg, vBcom, Google looking for other instances of such, and cannot find a decent explanation, especially in light of the fact that your forum is working okay.

Both your forum and PhotoPlog call in vB's global file, which in turn calls in vB's init file. The init file uses the same procedure to set $vbulletin->bf_ugp regardless, so it's weird that your forum is working but PhotoPlog is not.

One thing to try is to echo out some information, maybe it'll give a clue.

In vB's class_core.php file find:
Code:

        function register($title, $data)
        {

And temporarily replace with:
Code:

        function register($title, $data)
        {
                if (defined('PHOTOPLOG_FWD'))
                {
                        echo "<br />Title: " . $title . "<br />";

                        if ($title == 'bitfields')
                        {
                                if (is_array($data))
                                {
                                        echo "<br />A<br />";
                                }
                                else
                                {
                                        $arraydata = in_array($title, $this->unserialize);

                                        if (!is_array($data) AND $arraydata)
                                        {
                                                $data = unserialize($data);

                                                if (!is_array($data))
                                                {
                                                        echo "<br />B<br />";
                                                }
                                                else
                                                {
                                                        echo "<br />C<br />";
                                                }
                                        }
                                        else
                                        {
                                                echo "<br />D<br />";
                                        }
                                }
                        }
                }

And then call PhotoPlog from your browser.

What do you see on screen?

silvert 02-01-2006 03:04 PM

Code:

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in <adress>/httpdocs/forum/includes/class_core.php on line 1341
uhh.... no idea... over my heaad at this point, hehe

silvert 02-01-2006 03:07 PM

oyea, and it killed my forum while i had that up.. not sure if that is normal or i missed a "}"

Morgan 02-01-2006 03:34 PM

Make sure to copy-paste it all, and stick it in the correct location. It'll output something similar to the following:
Code:

Title: bbcodecache

Title: bitfields

C

Title: cron

Title: forumcache

Title: languagecache

Title: options

Title: pluginlist

Title: products

Title: smiliecache

Title: stylecache

Title: usergroupcache



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

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