Allora...
il server (inteso come PC) e’ uno solo... con diversi domini e qualche sottodominio.
Le impostazioni di Apache e PHP sono identiche per tutti e 3 i "server web". Cosi’ come le impostazioni di MODxCMS.
1) Katiacrispino.com ... server di test
http://test.katiacrispino.com/
http://test.katiacrispino.com/phpinfo.php
La galleria funziona benissimo...
Il template l’ho adattato...
2) Rietiincorsa.com .... server on-line
http://www.rietiincorsa.com/
http://www.rietiincorsa.com/phpinfo.php
La galleria non carica le immagini...
Il template l’ho adattato io sulla base di MODxCSS. Adotta menu’ wyfinder e poche altre cose in CSS.
L’errore riscontrato e’ il seguente:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: chmod(): Unable to access assets/galleries/32/0500.JPG
Error type/ Nr.: Warning - 2
File: /home/httpd/vhosts/rietiincorsa.com/httpdocs/assets/snippets/maxigallery/maxigallery.php
Line: 255
Line 255 source: chmod($path_to_gal.$name,0666);
Parser timing
MySQL: 0.0021 s (8 Requests)
PHP: 0.0253 s
Total: 0.0274 s
3) Akakustrail.com .... server on-line
http://www.akakustrail.com/
http://www.akakustrail.com/phpinfo.php
La galleria non carica le immagini...
Il template l’ho adattato io sulla base di MODxCSS. Adotta menu’ wyfinder e poche altre cose in CSS.
L’errore riscontrato e’ il seguente:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 10015 is not allowed to access /home/httpd/vhosts/akakustrail.com/httpdocs/assets/galleries/32 owned by uid 33
Error type/ Nr.: Warning - 2
File: /home/httpd/vhosts/akakustrail.com/httpdocs/assets/snippets/maxigallery/maxigallery.php
Line: 254
Line 254 source: move_uploaded_file( $_FILES['file'.$i]['tmp_name'] , $path_to_gal.$name );
Parser timing
MySQL: 0.0016 s (7 Requests)
PHP: 0.0260 s
Total: 0.0277 s
Qualcuno mi sa dire cos’e’ che non gli sta bene a modx nelle installazioni 2) e 3) ?
CONSIDERATE CHE SU TUTTI E 3 I SERVER, ALLA DIRECTORY assets/galleries/ C’E’ IL PERMESSO (CHMOD) 0777.
Grazie!