We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23880
    • 31 Posts
    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!
      • 11590
      • 18 Posts
      Secondo me è più strano il caso 1) rispetto agli altri smiley
      Nel caso 2) sembra che non riesca a creare la directory /32/ all’interno di galleries.
      Nel caso 3) crea la directory ma come utente owner web o nobody, quindi per ragioni di sicurezza non ti fa fare l’upload delle immagini.
      Hai provato utilizzando MaxyGallery 0.5 e facendo l’upload via FTP?
        • 23880
        • 31 Posts
        risolto tutto.... e’ una questione di permessi.

        con l’ultima versione e’ molto piu’ semplice risolvere questo genere di problemi!