Member
Member
vlocity160   04-12-2009, 04:22
#1

Hi all,

I have installed ZenPhoto successfully before but now I am trying to install it onto another webserver (Though using the same webhost).

I unzipped and extracted the files to /gallery and it comes up with internal server error 500. This is when I visit the index.php file in the gallery directory. Everything else comes up with the same error. Can somebody please help? I have deleted the htaccess file in the root directory as recommended but no success.

Many thanks

Administrator
Administrator
acrylian   04-12-2009, 11:01
#2

Did you also uncheck the "modrewrite" option? If not Zenphoto thinks it should use modrewrite links which will not work if there is no htaccess file.

Member
Member
vlocity160   04-12-2009, 14:53
#3

I went into the error log and changed the group user write files so that they can't. This fixed the error. Would it leave the gallery open to any security threats now?

Administrator
Member
Member
vlocity160   04-12-2009, 16:10
#5

I changed all the permissions for the folders to be 755 and 644 for files and it didn't work. Well I can access the index file but I can't get access to the albums.

Administrator
Administrator
acrylian   04-12-2009, 16:44
#6

As noted not all servers allow those setting. Maybe you have to use 777 on yours. You also did not answer the modrewrite question.

Member
Member
korn   04-12-2009, 21:24
#7

i have the same problem
is correct my setup?

* Versione PHP: 5.2.11
* PHP Safe Mode
* PHP magic_quotes_gpc [enabled]
  Attenzione!

* Supporto di PHP a gettext()
* Pacchetto PHP mbstring [Il proprio set di caratteri interno è ISO-8859-1]
  Attenzione!

* Supporto a MySQL di PHP
* File zp-config.php
* Permessi file/cartella [sono stretti (0755)] Attenzione! fare clic per i dettagli
  Attenzione!

* Setup MySQL in zp-config.php

* File Zenphoto fondamentali
* File .htaccess (RewriteEngine è OFF)
* File robots.txt
* cartella albums
* cartella cache
* Cartelle locale
* cartella (uploaded) caricato
* cartella zp-data
* cartella (cache_html) Cache HTML
* cartella (plugins) Plug-in di terze parti
Member
Member
korn   04-12-2009, 21:42
#8

in the setup log: Query error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

Member
Member
sbillard   05-12-2009, 00:30
#9

For the SQL error you will need to speak with your service provider. This might be an incorrect MySQL user/password, but usually those errors are more specific. It may be a configuration issue with PHP/MySql on your server.

Member
Member
vlocity160   05-12-2009, 02:08
#10

"As noted not all servers allow those setting. Maybe you have to use 777 on yours. You also did not answer the modrewrite question. "Ah sorry missed the modwrite part. I had it selected without even knowing, so I have deselected it and now it works. Thank you!

Member
Member
korn   05-12-2009, 09:51
#11

where can i deselect the modwrite?

Administrator
Administrator
acrylian   05-12-2009, 11:22
#12

On the backend options.

Member
Member
korn   05-12-2009, 12:14
#13

ok but i'm creating a new site with setup.php

Administrator
Administrator
acrylian   05-12-2009, 12:50
#14

After setup completes you can visit either the site or the backend. Just visit the backend and disable the option. (btw, a server today should really support modrewrite in my opinion).

Member
Member
korn   05-12-2009, 16:13
#15

the problem is that the setup do not completes. i write what im trying to do: i unpack the zenphoto 1.2.7 after i upload the files, go to my url for the setup, i insert the mysql userid and after clicked on go i have this "Internal Server Error". i cannot do anymore

Member
Member
sbillard   05-12-2009, 18:06
#16

If you are still getting the log entry that says Zenphoto could not connect to the MySQL server you will need to resolve that. Zenphoto cannot run without the database.

Member
Member
korn   07-12-2009, 16:47
#17

ok ive tried another thing, i installed correctly the 1.2.6 rc 2 version and it works! as you can see at www.micheledelbecaro.com, but if try to update this site i got the internal server error, any suggestion?

Member
Member
sbillard   07-12-2009, 23:10
#18

Try relaxing the permissions on the files/folders. Also try removing the .htaccess file. Finally, maybe your Provider can tell you what server error you are getting.

Member
Member
korn   08-12-2009, 14:24
#19

thank you for the patience!!! the problem was the permission rights, i dont known why the changed... but now its online!!!

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.