I am trying to migrate from Gallery 1 to Gallery 2.
I did the first three steps of the process (back up the first version, validate the files and searched for orphans and everything was ok)
I then renamed the folder to g1 but when i went to
http://www.example.com/g1/setup/
i received this error:
Warning: exec() has been disabled for security reasons in /home/zkbvcsf/public_html/g1/lib/setup.php on line 812
Warning: exec() has been disabled for security reasons in /home/zkbvcsf/public_html/g1/lib/setup.php on line 819
Warning: mkdir() [function.mkdir]: No such file or directory in /home/zkbvcsf/public_html/g1/classes/gallery/UserDB.php on line 43
Error: Unable to create dir: /home/zkbvcsf/public_html/gallery/albums/.users
Upgrading Users
The user database in your gallery was created with an older version of the software and is out of date. This is not a problem! We will upgrade it. This may take some time. Your data will not be harmed in any way by this process. Rest assured, that if this process takes a long time now, it's going to make your gallery run more efficiently in the future.
If you get an error, and only some users are upgraded, try refreshing the page to upgrade remaining users.
Please Wait...
Fatal error: Call to a member function getUsername() on a non-object in /home/zkbvcsf/public_html/g1/classes/gallery/UserDB.php on line 337
If i rename back again the folder i can see again my old gallery but i still have the problem that i can't upload new photos due to my host.
For the config.php file (if i want to modify it) I opened it and searched for the paths where "gallery" was written and I wrote g1...
For the htcaccess file nothing was to change....
but still the error was there...
so i went back to the original Gallery 1 and now I am scared to go on...
Could you please tell me how I can solve the problem?
Am I doing something wrong with the paths or is it a server problem?
Thanks
G1 version:1.5.1
--
PHP version (e.g. 4.3.11):PHP 4.4.0
Database (e.g. MySql 4.0.11):
Activated toolkits (e.g. NetPbm, GD):NetPBM
Operating system (e.g. Linux): windows xp
Browser (e.g. Firefox 1.0): Explorer 6
[/size]
Posts: 32509
it seems like you're fighting with g1 errors.
please discuss the g1 errors in the g1 forums.
@exec() warning:
your webhost has disabled the php exec() function used by g1 to generate thumbnails and resized versions of your images.
i guess that warning can be ignored.
@mkdir() warning:
sounds like your g1 config hasn't been updated after you've moved folders.
@fatal error about getUserName():
maybe related to the g1 config that needs to be updated. maybe your g1 user database is corrupt.
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage