Recent Topics

1 Jul 19, 2013 12:35    

Hi,
I started the upgrade from 4.1.7 to 5.0.4 and I'm sorry to have to report a problem. The upgrade of the database stopped on the following page

Mise à jour de b2evolution...
Vérification des fichiers...

Preparing to install .htaccess ... ERROR!
Failed to copy files!
Mise à jour des données dans base de données b2evolution existante...
Loading module: _core/model/__core.install.php
Loading module: collections/model/_collections.install.php
Loading module: files/model/_files.install.php
Loading module: sessions/model/_sessions.install.php
Loading module: messaging/model/_messaging.install.php
Loading module: maintenance/model/_maintenance.install.php

Vérification de la version du schéma BD... 11110 : OK.
Calling modules for individual upgrades...
(Re-)Initializing caches... OK.
Invalidating all page caches to make sure they don't contain old action links... OK.
Reloading installed plugins to make sure their config is up to date... OK.
Installing new default plugins (if any)... OK.
Checking if some default cron jobs need to be installed...
Checking timing of upgrade... We are reaching the time limit for this script. Please click continue...
When I click upon "continue" the same page comes back again and again...
What's the point ? Can you help ?
Regards.
Jacques

3 Jul 19, 2013 14:50

@fplanque wrote earlier:

Are you sure it's exactly the same page or does the DB version increase a little with every page:

Vérification de la version du schéma BD... 11110 : OK.

Yes I'm sure...

@fplanque wrote earlier:

No matter what your PHP needs to be allowed more execution time. Check out he second half of this page:
http://b2evolution.net/man/advanced-topics/troubleshooting/blank-or-partial-page

Ok it was solved by increasing the execution time.
But I now have a new problem in the backoffice : when displaying the "Content" tab in full post mode for the photoblog, many images are not displayed. Instead I have a black square with a red warning saying "Unable to open blablabla/fit-320x320.jpg for writing: Permission denied. I checked the permissions of caches and everything is writable. So I don't understand :(

4 Jul 19, 2013 16:58

Clearly you have a permission error. If you chmod 777 blablabla/ it will work. Then you can work on finding more secure permissions. Check the owner and group of blablabla/.

Note the most important thing here is the thing you neglect: blablabla/

5 Jul 19, 2013 18:06

@fplanque wrote earlier:

Clearly you have a permission error. If you chmod 777 blablabla/ it will work. Then you can work on finding more secure permissions. Check the owner and group of blablabla/.
Note the most important thing here is the thing you neglect: blablabla/

Ok. Thanks a lot François. In fact I indeed chmod 777 from bottom to top. But this changed nothing until I closed the browser (and the session ?). When I reopened then everything was correct.
According to you, what is the safer setting for the media and down to _evocache sub dirs? It's difficult to work more secure permissions since once the _evocache/sub-dirs exist they don't have to be recreated...
Regards.
Jacques


Form is loading...