Cannot write .htmaccess

behindpropellers

Joined: 2003-03-01
Posts: 13
Posted: Sat, 2003-03-01 22:25

When i get to the end of the configuartion screen I am getting the error
"Unable to write to /home/........./public_html/gallery/.htaccess"

Is this a limit from my web host or am I doing somthing wrong?

Thanks

Tim

-----
Gallery URL (optional but very useful):
Gallery version: 1.3.3
Apache version: 1.3.24
PHP version (don't just say PHP 4, please): 4.2.1
Operating system: linux
Web browser/version (if applicable): using nomonthlyfees.com

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Sat, 2003-03-01 22:42

You're doing something wrong.

Please read the README. You must create two blank files, named .htaccess and config.php, and chmod them 0777. Gallery needs to write to these files for it to correctly get setup.

 
behindpropellers

Joined: 2003-03-01
Posts: 13
Posted: Sat, 2003-03-01 23:00

I did read the README. Using cuteftp when i create the .htmaccess and transfer it to the gallery folder it disapears. This is the only problem i am having.

Tim

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2003-03-01 23:11

Tim -- I notice you've said .htmaccess instead of .htaccess. (Note the extra 'm') Is that a typo in your message or in the actual commands that you used with CuteFTP? It's supposed to be .htaccess.

 
behindpropellers

Joined: 2003-03-01
Posts: 13
Posted: Sat, 2003-03-01 23:21

That was just a typo on here. I can make a file test.htaccess and upload it. When I try to change the name of it to .htaccess i "dissapears". Can sombody tell me how to login through comand prompt with ftp? I understand the command prompts on the readme, but do not know how to manually login through command prompt.

Tim

 
nick_rembis

Joined: 2003-01-20
Posts: 524
Posted: Sat, 2003-03-01 23:53

behindpropellers, if you go to my website and in the software section you will see a link to download a program called SmartFTP.the various settings are easily understood and usually helps most out on here with not seeing the .htaccess files,this program however will not make them visible if your webhost has chosen to configure there FTP daemon not allow you to see special files,which can also be done.

do they allow telnet or ssh access?

 
behindpropellers

Joined: 2003-03-01
Posts: 13
Posted: Sun, 2003-03-02 00:03

They allow ssh acess.

Tim

 
behindpropellers

Joined: 2003-03-01
Posts: 13
Posted: Sun, 2003-03-02 00:11

Alright, I figured out the ssh, i forget the commands to change directorys so I can get into the correct directory.

Tim

 
behindpropellers

Joined: 2003-03-01
Posts: 13
Posted: Sun, 2003-03-02 00:29

Looks like i am all set, i deleted the old gallery and am going to reinstall with telnet.

Thanks

Tim

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Sun, 2003-03-02 00:54

Well, good luck :smile:

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Sun, 2003-03-02 01:15

FYI, for your information, I just added FAQ C.19 with information on the mysterious .htaccess disappearances :wink:

 
behindpropellers

Joined: 2003-03-01
Posts: 13
Posted: Sun, 2003-03-02 04:30

I did get it to install, now I am working through the problem with the pictures not being able to be thumbnailed. 4.4 in the faq. I think it is a problem with an error in shared librarys since i have the right netpbm files along with the correct permissions.

Tim

 
nick_rembis

Joined: 2003-01-20
Posts: 524
Posted: Sun, 2003-03-02 06:15

If thumbnails are broken images its most likely you specified the wrong path to your albums directory during the configuration.....check that and make sure its correct.

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Sun, 2003-03-02 15:24

Please put Gallery into debug mode and post the verbose error messages.

 
behindpropellers

Joined: 2003-03-01
Posts: 13
Posted: Sun, 2003-03-02 18:35

I have done the following:
Configured the control panel to look to net pbm "..//netpbm"
my net pbm is located in the gallery/netpbm

Am I associating the file source correctly? When it is configured it says all 12 netpbm files have been found. All of the files have chmod 777 and the folder they are in have chmod 777

The netpbm files are "netpbm1.1-gallery1.0-linux2.2-redhat6.2-intel"
The server information is in one of the posts above.
Server "faq" is here: <!-- BBCode Start --><A HREF="http://nomonthlyfees.com/online_manual.htm" TARGET="_blank">online manual</A><!-- BBCode End -->

I am getting this error

Executing:

..//netpbm/jpegtopnm /home/showtime/public_html/albums/album01/Chip_Sun_Set.jpg | ..//netpbm/pnmscale -xysize 150 150 | ..//netpbm/ppmtojpeg --quality=95 > /home/showtime/public_html/albums/album01/Chip_Sun_Set.thumb.jpg

Results:
none

Error messages:
sh: ..//netpbm/jpegtopnm: No such file or directory
sh: ..//netpbm/pnmscale: No such file or directory
sh: ..//netpbm/ppmtojpeg: No such file or directory

Status: 127 (expected 0)
Error: Unable to make thumbnail (0)!
Need help? Look in the Gallery FAQ

I am not very familiar with SSL if you answer if a way to fix it in that mode.

Thanks

Tim
<!-- BBCode Start --><A HREF="http://nomonthlyfees.com/online_manual.htm" TARGET="_blank">online manual</A><!-- BBCode End -->

 
nick_rembis

Joined: 2003-01-20
Posts: 524
Posted: Sun, 2003-03-02 18:41

looks to me like your path to netpbm is not correct....you need to specify the full system path like this

/home/showtime/public_html/gallery/netpbm

 
behindpropellers

Joined: 2003-03-01
Posts: 13
Posted: Sun, 2003-03-02 20:44

i started over with a different site i have...

The images are in the correct folder and the .thumb has been created. What should I do now to resolve the inability to see the actual pictures?

Tim

here is the error log:

Processing status...
- Adding ChaseOneFooter.jpg
Executing:

/home/chippewa/public_html/gallery/netpbm/jpegtopnm /home/chippewa/public_html/albums/album01/ChaseOneFooter.jpg | /home/chippewa/public_html/gallery/netpbm/pnmscale -xysize 150 150 | /home/chippewa/public_html/gallery/netpbm/ppmtojpeg --quality=95 > /home/chippewa/public_html/albums/album01/ChaseOneFooter.thumb.jpg

Results:
none

Error messages:
jpegtopnm: WRITING PPM FILE
pnmscale: Scaling by 0.468750 horizontally to 150 columns.
pnmscale: Scaling by 0.470833 vertically to 113 rows.
pnmscale: 0.000000 of right column stretched due to arithmetic imprecision
pnmscale: 0.000001 of bottom row stretched due to arithmetic imprecision

Status: 0 (expected 0)IN UTIL ITEMCAPTUREDATE = 2003

Executing:

/home/chippewa/public_html/gallery/netpbm/jpegtopnm /home/chippewa/public_html/albums/album01/ChaseOneFooter.jpg | /home/chippewa/public_html/gallery/netpbm/pnmscale -xysize 200 200 | /home/chippewa/public_html/gallery/netpbm/ppmtojpeg --quality=95 > /home/chippewa/public_html/albums/album01/ChaseOneFooter.highlight.jpg

Results:
none

Error messages:
jpegtopnm: WRITING PPM FILE
pnmscale: Scaling by 0.625000 horizontally to 200 columns.
pnmscale: Scaling by 0.625000 vertically to 150 rows.
pnmscale: 0.000000 of right column stretched due to arithmetic imprecision

Status: 0 (expected 0)

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Sun, 2003-03-02 21:00

FAQ C.15, probably...

 
behindpropellers

Joined: 2003-03-01
Posts: 13
Posted: Sun, 2003-03-02 21:28

That was the problem.
I had to make it link directly to the dns numbers instead of the server that is not yet redirected to the domain name i have.

Thank you very much

Tim

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Sun, 2003-03-02 21:30

Glad you got it working :smile: