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? ---- phpnuke: 7.7 |
|

Posts: 13451
[Moved to G2 support]
Posts: 32509
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)
Posts: 37
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.
Posts: 25967
http://www.txwheelers.com/modules/gallery/setup/
It looks like permissiions are not set on the hidden files.
FAQ Gallery:c.15
Posts: 37
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.
Posts: 25967
yes all files in the albums directory and well as hidden ....just as the FAQ said.
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
Posts: 37
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.
Posts: 37
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.
Posts: 25967
Ask your host to do it.
Posts: 37
got them all 777. same results
/albums/ is 777
/.users/ is 777
and all file in the .users folder are777
Posts: 37
gave up. I am going to try and make G2 work again.
Thanks though :D