back up error

nickm3

Joined: 2004-07-31
Posts: 37
Posted: Mon, 2005-07-25 23:08

I installed a back up of all my home directory files. Now I am getting a "Security violation" warning on an otherwise blank screen. I have installed , deleted and reinstalled galleries with no improvements. Any suggestions?

----
The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL: http://www.txwheelers.com/
Gallery version: 1.5.1
Webserver (with version): apache version 1.3.33 (unix)
Datatabase : mysql 4.0.22
PHP version : 4.3.10
phpinfo URL (optional):
Graphics Toolkit(s): Imagemagic
Operating system: linux
Web browser/version: IE6.0.2800
G1 version (for migration bugs):1.5.1

phpnuke: 7.7

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Tue, 2005-07-26 07:37

[Moved to G2 support]

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-07-26 08:54

can't access your page, timeout.

for now, i ignore phpnuke. you want to get g2 standalone working. once it is working and you have phpnuke/g2 issues, please visit nukedgallery.net.

so you've restored a filesystem backup.
the problem is probably that the filesystem permissions are not correct. the files and directories in the g2data directory (g2's storage directory) need to be writable by the webserver user.
-> either chown -R (recursively) the g2data dir to the webserver user (only root user can do that)
-> or chmod -R 777 g2data (also recursively)

 
nickm3

Joined: 2004-07-31
Posts: 37
Posted: Tue, 2005-07-26 15:22

sorry, I corrected the the information above. I am having problem with both versions of galleries. I forgot to change the galleries version from g2 to 1.5.1 for this post.

This problem is with galleries 1.5.1 Sorry again.

Valiant- I still don't know why you cant connect to my site. It must be something at a server level. This happened a while back when you help me with a g2 problem.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25967
Posted: Tue, 2005-07-26 17:31

http://www.txwheelers.com/modules/gallery/setup/
It looks like permissiions are not set on the hidden files.
FAQ Gallery:c.15

 
nickm3

Joined: 2004-07-31
Posts: 37
Posted: Sun, 2005-07-31 00:34

I changed the permissions on the setup folder. Still doesn't work. Do I change them for every file in that directory?

How can I remove gallery from the database, So I can do a fresh install? I have reinstalled it about 5 time, with same results.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25967
Posted: Sun, 2005-07-31 06:06
nickm3 wrote:
Do I change them for every file in that directory?

yes all files in the albums directory and well as hidden ....just as the FAQ said.

nickm3 wrote:
How can I remove gallery from the database, So I can do a fresh install? I have reinstalled it about 5 time, with same results.

Remove all files except for the albums directory and start again.
make sure your albums directory is chmod 777 as well as the hidden files.
If your web server can't create the files you might have to create the files it errors on and chmod them to 777.

If you don't have many pictures just start again and delete the albums directory as well. Then follow the steps to start over. It will ask you to create a albums directory and chmod it to 777.

Dave

 
nickm3

Joined: 2004-07-31
Posts: 37
Posted: Sun, 2005-07-31 07:05

Thanks Dave, I have tried to do a fresh install including new albums. I get the same security violation. Thats why I assumed the gallery information must still be in the database. I have completely remover ever gallery file (albums included) and reinstalled several times with same results.
But heck I can always try one more time.

 
nickm3

Joined: 2004-07-31
Posts: 37
Posted: Sun, 2005-07-31 08:03

I just did a complete fresh install. Didnt work.

I just double checked the albums folder permissions. they are 777. but the users folder is 755. It wont let me change it. I get e 550 error when I try and change it.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25967
Posted: Sun, 2005-07-31 16:40

Ask your host to do it.

 
nickm3

Joined: 2004-07-31
Posts: 37
Posted: Sun, 2005-07-31 22:56

got them all 777. same results
/albums/ is 777
/.users/ is 777
and all file in the .users folder are777

 
nickm3

Joined: 2004-07-31
Posts: 37
Posted: Mon, 2005-08-01 03:33

gave up. I am going to try and make G2 work again.
Thanks though :D