I just got hacked so I uploaded a backup and it's been some time since I've used or updated my gallery. I have the newest version of Gallery v1 with the last PN software.
How do I get into my gallery from the gallery side and not through Post Nuke. The way my website was set up I cannot add or edit through PN, I have to go into my gallery software.
My question is how do I get in?
I though it was /gallery/index.php or gallery/index.php
I also cannot get into the config wizard gallery/setup
when i do go to these screens I get a "Error: Your userfile is not writeable."
Apache V 1.3.36 (Unix)
PHP V 4.3.11
Firfox
The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version:
Apache version:
PHP version (don't just say PHP 4, please):
Graphics Toolkit:
Operating system:
Web browser/version (if applicable):
Posts: 16504
That looks like it means that your albums directory and all files below it need to have their permissions changed so the webserver can write to them. On most hosts this means 777
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 4
It looks like I have mixed permissions for different files, does everything in the gallery need to be 777
I just got hacked and don't need to giver permissions to anyone other than me. Do I still 777 everything or just what is in the albums?
Posts: 16504
You most likely didn't get hacked because of permissions set on files. It was probably via FTP, or some other software running on your site.
But how ever your system is setup, your web server needs to have permission to read and write to the directories and files under your /albums directory. Whether that means changing the ownership of the albums directory and all sub-directories and sub-files to the owner of the web server or changing permissions to 777 (for directories) or 666 (for files) is up to you. To change ownership you'll need to contact your host unless you are the system administrator.
Even those this FAQ is for G2 the same principle applies.
FAQ: How can I fix the filesystem permissions of the Gallery storage folder?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 4
Thank you for the replies Nivekiam, I'll check with my host.
BTW- which is the proper way to access my gallery, it is mysite.com/modules/gallery/index.html ? I noticed this index file is completely blank.
Posts: 16504
modules?
That index.html file shouldn't exist in your Gallery directory
just /gallery/ should be fine if that's where it's installed. If that doesn't work, then /gallery/index.php, if you don't want to have to specify the index.php file, then set DirectoryIndex to include index.php in your .htaccess file:
http://www.javascriptkit.com/howto/htaccess6.shtml
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 4
In my gallery directory I have to index files, index.php & index.html I have no way to access anythign to do with my gallery other than viewing it through my PN site.
You know I hired some guy because it had been so long since I used PN, to update my website and now I am noticing I have two gallery directories. One Gallery just has an albums (mysite.com/gallery) directory the other (mysite.com/modules/gallery/) has all the tools, setup, docs netpmb directorys. Both albums seem to be updated the same which is weird. I also can't do all my album editing withing my PN site like i used to before I upgraded. He admitted to me later that he didn't use the gallery ever or know how to properly configure it, which I though was odd. *sigh*
I just don't get that by loading up a backup how everything is all out of whack and the only way to view my gallery is through PN and not directly, weird.....
I'll try to rename deal and see what else gets jacked up, lol
Also in that link you pasted, it says global htaccess file, do I make that edit in the htaccess file in the gallery directory or in my site directory?
hate to make a along code post here but does this seem right for my gallery/index.php file?
Posts: 16504
Well I know nothing about PN (postnuke, phpnuke, what ever). If you don't have any other way to manage your website than through some CMS I can't be of much help. And the stuff you're describing has me totally lost. I'd say you need to hire that guy back and fix what ever needs to be fixed.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here