5.4.0.2 update failure!!
Permalink
Hi, I tried to update my c5 today through the dashboard, but this resulted in this:
Now I can't access anything on my site, and I just get the error described... What do I do?!
Thank you in advance!
Warning: require(/home/www/pixel8.dk/clients/id/updates/concrete5.4.0.2/concrete/dispatcher.php) [function.require]: failed to open stream: No such file or directory in /home/www/pixel8.dk/clients/id/concrete/startup/updated_core_check.php on line 5 Fatal error: require() [function.require]: Failed opening required '/home/www/pixel8.dk/clients/id/updates/concrete5.4.0.2/concrete/dispatcher.php' (include_path='.:/usr/local/php53//lib/php') in /home/www/pixel8.dk/clients/id/concrete/startup/updated_core_check.php on line 5
Now I can't access anything on my site, and I just get the error described... What do I do?!
Thank you in advance!
I deleted everything from the "updates" folder and still have the same issue. What can I change to make it go back to the way it was before I foolishly pressed the [update] button?
Do you have your /updates directory set to 777?
hi.. in your config/site.php a new line is added when you try to update...
just delete that, and everything is like before...
But I still haven't figured out how to update through dashboard :-(
the file that it is trying to include / require doesn't exist ..
define('DIRNAME_APP_UPDATED', 'concrete5.4.0.5');
just delete that, and everything is like before...
But I still haven't figured out how to update through dashboard :-(
the file that it is trying to include / require doesn't exist ..
Do you have an /updates directory in your webroot and is it writable?
if that error comes up again look in /updates/<version>/concrete/
for the dispatcher.php
for the dispatcher.php
Wow! Thanks for all the help...
Yes I have an "updates" folder it was set to 775 but I now changed it to 777.
I removed that line from the config file and I get half my site back again - the page isn't formatted and the dashboard is a blank white screen.
Oh wait... now it works. Must be the slow hotel Internet connection :)
The first time I tried to update from the dashboard it complained that I didn't have zip installed on the server - but I do.
Yes I have an "updates" folder it was set to 775 but I now changed it to 777.
I removed that line from the config file and I get half my site back again - the page isn't formatted and the dashboard is a blank white screen.
Oh wait... now it works. Must be the slow hotel Internet connection :)
The first time I tried to update from the dashboard it complained that I didn't have zip installed on the server - but I do.
I am now running 5.4.0.5!
I was able to update from the dashboard, after fixing my config file the only thing different is my update folder was set to 777 instead of 775 - did that do the trick?
I was able to update from the dashboard, after fixing my config file the only thing different is my update folder was set to 777 instead of 775 - did that do the trick?
I believe so. You did not have the proper permissions to write the "upgrade files" to the /updates folder :) Congrats on your sucesss!
PS: it's probably a good idea to clear your site cache via the dashboard before an update or if "things start to go wonky" :)
PS: it's probably a good idea to clear your site cache via the dashboard before an update or if "things start to go wonky" :)
My php error log says: