Can not access site administration ...
Epsylonator
Joined: 2005-09-21
Posts: 9 |
Posted: Wed, 2005-09-21 12:19 |
Gallery version = 2.0 noyau 1.0.0 Install was successful, Admin account has been created, and I can log in when I clic connexion as owner of the admin account BUT if i clik on site administration I'm redirected to a 404 error page. Same thing for pics, I can create albums, but I can't see pictures in it (404 erors to) Moreover, directory /v/ wasn't created.... |
|
Posts: 32509
seems as if mod_rewrite (short urls with the G2 URL rewrite module) doesn't work for you despite some checks it did during installation.
please use http://ebeniste-art.com/gallery2/main.php?g2_view=core.SiteAdmin and then go to modules and deactivate the rewrite module.
Posts: 9
Well, when I clic on "Modules, I have the following error message : "
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 14999 bytes) in /var/www/html/gallery2/lib/smarty/Smarty_Compiler.class.php on line 1249"
:'(
Posts: 32509
8 MB is definitely too low for G2. there's a warning about that in the installer.
FAQ: Why do I get the error Allowed memory size of Xxx bytes exhausted?
Posts: 9
Ok, it didn't work simply because I wrote in my htaccess 16M instead of 16000000. Moreover, Gallery looks good if rewrite is disabled. Thank youuuuuuuu !
Posts: 9
Mmh, seems There are still some probklem, if I try to edit a photo, her's what happens : "Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 46080 bytes) in /var/www/html/gallery2/i14122data/smarty/templates_c/%%1748731597/%%3A^3A8^3A818B59%%theme.tpl.php on line 53"
What memory value should I use ?
Posts: 3236
Even though you put "16M" it still only sees 8M. This probably means your host doesn't allow you to change the memory limit (pretty common), you made a mistake in the .htaccess file (not very likely if you just changed 16000000 to 16M) or you need to use some other method to change the memory limit. If your host runs your php via CGI, you might be able to get away with having a "php.ini" file that contains the values.
Like Gallery? Appreciate my help? Think I'm an asshole? Make your point by donating to the Gallery project! Or maybe just visit my website.