View Full Version : Updated from 1.4.2 to 1.5,but doesn't work anymore
Effebi
07-26-2006, 05:56 PM
I followed instructions closely but my site can't start anymore.
Admin panel is ok, everything is fine inside it: I can edit images,
options, comments and version is right. It simply doesn't start from
my address:
http://www.effe-bi.net/photoblog
The only step i missed is "updating database" and I don't know how to do it!
Can't anyone help me? Thank you!
inophoto
07-26-2006, 07:04 PM
I'm very surprised that it's working at all if the database isn't connected. Is that even possible?
When upgrading, you need to replace the relevent lines in the new pixelpost.php (in /includes/) with the ones from your old one (which hopefully you have a backup of). Specifically these:
$pixelpost_db_host = "localhost"; // database host, often "localhost"
$pixelpost_db_user = "replace_me"; // database user
$pixelpost_db_pass = "replace_me"; // database user password
$pixelpost_db_pixelpost = "replace_me"; // database
The run install.php again. Or have I misunderstood your problem?
Effebi
07-26-2006, 09:12 PM
I did both things right, but it doesn't work. No index page is loaded.
Only a blank page when I use my site address.
It's not even a template problem, cause I tried to change it, but nothing
happens!
The upgrade readme says I also have to update database, just
before the last step (loggin in admin.php) but I don't
know how!
Thank you.
Update is done by URL/admin/install.php but when I went to this URL it redirected me to admin login. It means more or less that DB update is ready. Its hard to say where is problem.
Please try to find some PHP error logs on your server.
Effebi
07-27-2006, 02:41 PM
Fatal error: Cannot redeclare category_list_as_table_noecho() (previously declared in /web/htdocs/www.effe-bi.net/home/photoblog/addons/copy_folder.php:183) in /web/htdocs/www.effe-bi.net/home/photoblog/addons/copy_folder_1_4.php on line 173
this could mean something? I found it at the end of the addons
page
Vernon.Trent
07-27-2006, 02:49 PM
@effebi
check you addons folder that only one copy_folder addon is active. is up to you which one you choose. but only one has to be active/in addon folder.
rename the others.
Vernon.Trent
07-27-2006, 02:53 PM
@effebi
check you addons folder that only one copy_folder addon is active. is up to you which one you choose. but only one has to be active/in addon folder.
rename the others.
#additional info
same effect like your blog (blank screen) is described here.
http://forum.pixelpost.org/showthread.php?p=31002#post31002
Effebi
07-27-2006, 02:56 PM
Thank you. It was the addon!
Now I'm back again!
Connie
07-27-2006, 02:57 PM
this is a situation that happens quite often:
if you have more than one version of the same ADDON in the addon-folder,
you will run into trouble
it is not enough just to rename one addon, like you did to "oldname_1_4.php"
because ALL Addons in the folder are read by the script and executed
so there is no wonder that one function is already declared!
You must, when you upload a new version, remove the old version from that Addon-Folder!
I am sure this info is in the WIKI as well
so delete the old file and start again, it will work, I know!!
I had this problem as well!
Vernon.Trent
07-27-2006, 03:01 PM
oh :)
when I rename a file, it's the part after the dot
something like that
blabla.php becomes blabla.php.old
@effebi
nice :)
Connie
07-27-2006, 03:02 PM
no, only
.PHP - files in the directory
and only one version!!
why create difficulties? Be careful!
blinking8s
07-27-2006, 06:49 PM
i do it like vernon.trent, its a great way to handle updating and replacing files without just making everything unorganized
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.