PDA

View Full Version : Can't Upgrade


Birdie
01-31-2006, 04:46 PM
Hello;

I hope this is the right forum to report this to. I tried to upgrade to 1.5.x this morning and wasn't able to. I followed the instructions outlined for upgrading in the docs folder, but when I went to the admin/install.php page it redirected me to the log-in page (admin/index.php) with no upgrade button.

I can log-in but get these messages:
Under Add-On: Fatal error: Call to undefined function: add_admin_functions() in /home/spinner1/public_html/pblog/addons/admin_12CropImage.php on line 74

Directory Paths all say OK. Version says 1.4.3 though. Comments, Categories, and Images all appear fine. I set my template as Simple for now, but when I go to the index.php page I get this error:
Fatal error: Call to undefined function: refresh_addons_table() in /home/spinner1/public_html/pblog/index.php on line 91

Can anyone help me fix it, or should I just revert back to the old version?

Cheers,
Birdie
http://www.uncommondepth.com/pblog/

Birdie
01-31-2006, 05:19 PM
Update: I went back to 1.4.3 and left the error reporting on and I'm still getting the following error:
"Warning: in_array(): Wrong datatype for second argument in /home/spinner1/public_html/pblog/index.php on line 558"

Line 558 is:

if( $count != $lookingfor ) continue; // Major hack for the browse filters.
$title = pullout($title);
$thumbnail = "thumbnails/thumb_$name";
$thumb_output .= "<a href='$showprefix$id'><img src='$thumbnail' alt='$title' title='$title' class='thumbnails' /></a>";

Does anyone know what this is about and how I can fix it?

Thanks,
Birdie

Connie
01-31-2006, 06:32 PM
did you really upload all files into the correct directories?
It seems some files in /admin-directory are missing

did you overwrite the old files?
check out if there are all files of version 1.5 in /admin and /include-directories, please

Birdie
02-03-2006, 02:48 PM
Apologies for taking so long to reply. I had switched back to the previous version of Pixelpost because I ran out of time for playing and needed to make sure the photoblog was working. I finally had more time to play around with it today.

The last time I had moved all my folders to a backup directory and then uploaded the new folders. This time I left the old folders in place and overwrote the files on a folder by folder basis. The upgrade went perfectly. No problems at all; and I'm now up and running.

So I'm probably not helpful at all because I have no clue what went wrong the first time.

But this new version looks great. Much appreciation for the Pixelpost team.

Cheers,
Birdie