PDA

View Full Version : Can't Even Start Upgrade


jimbrowning
02-20-2008, 02:45 AM
When I try to upgrade, I get the following message:

Fatal error: Cannot redeclare show_username_password() (previously declared in /home/imagesby/public_html/includes/create_tables.php:24) in /home/imagesby/public_html/admin/install/install_functions.php on line 993

Any ideas or help would be appreciated.

Dkozikowski
02-20-2008, 04:02 AM
Yeah, make sure all the files were uploaded.

The function show_username_password() no longer resides within create_tables.php so that tells me not all files were uploaded.

jimbrowning
02-20-2008, 04:59 AM
I just unziped the files and copied all to the root of my site. Still no go. I checked the pixelpost.php file and all is well in it. I just can't seem to find what is wrong. If I rename the pixelpost.php file, the install screen comes up. It just will not let me do the upgrade.

austriaka
02-20-2008, 06:26 AM
download a new package und try again. It looks as if your download is somehow mixed up?

jimbrowning
02-20-2008, 12:33 PM
Ok. I re-downloaded the package, unzipped it, ftp'd it to the root of my site, ran the install and got this message:


Warning: main(../includes/functions.php) [function.main]: failed to open stream: No such file or directory in /home/imagesby/public_html/install.php on line 40

Fatal error: main() [function.require]: Failed opening required '../includes/functions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/imagesby/public_html/install.php on line 40

I looked on the site in the install.php line and line 40 is referencing includes/functions.php

I have verified that it is there and the data looks correct.

I am stumped.

jimbrowning
02-20-2008, 12:41 PM
Just for fun, I went through and re-copied every file by hand, ran the install and got back to this message:

Fatal error: Cannot redeclare show_username_password() (previously declared in /home/imagesby/public_html/includes/create_tables.php:24) in /home/imagesby/public_html/admin/install/install_functions.php on line 993

So now I'm back to here.

jimbrowning
02-20-2008, 12:56 PM
Ok. Latest attempt. I deleted the file crete_tables and replaced it with a fresh copy.

Site works fine but the Admin page doesn't come up. It only shows a list of the files in the admin folder.

I'll look around here and see what I can find. Please respond if you have any idea what has happened.

jimbrowning
02-20-2008, 01:00 PM
I'm Fixed !!! I had to replace the index.php file with a fresh copy as well. I'm not sure what happened to start all of this mess, but I am betting it was the changes to the Mac version of Filezilla (Or something that I did while using it).

Anyway, thanks for all of your help and suggestions.

austriaka
02-20-2008, 03:36 PM
great you managed that!