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
PHP version = 4.3.11 cgi
PHPInfo Link : http://ebeniste-art.com/gallery2/phpinfo.php
Serveur Web = Apache (Secured-VIPER)
Base de données = mysqlt 4.0.24-standard
Boîtes à outils = ArchiveUpload, Exif, ImageMagick, Gd
Système d'exploitation = Linux red.mysuperhost.co.uk 2.4.21-32.0.1.ELsmp #1 SMP Tue May 17 17:52:23 EDT 2005 i686
Navigateur Web = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Mnenhy/0.6.0.104

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....

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-09-21 12:25

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.

 
Epsylonator

Joined: 2005-09-21
Posts: 9
Posted: Wed, 2005-09-21 12:32

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"
:'(

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-09-21 13:08

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?

 
Epsylonator

Joined: 2005-09-21
Posts: 9
Posted: Wed, 2005-09-21 13:31

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 !

 
Epsylonator

Joined: 2005-09-21
Posts: 9
Posted: Wed, 2005-09-21 13:38

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 ?

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Wed, 2005-09-21 13:57

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.