News:

Registration Issues: email manjul.bose at gmail for support - seems there is a issue that we're still trying to fix

Main Menu

Its amazing about Web hosts

Started by john, December 03, 2003, 07:20:36 AM

Previous topic - Next topic

john

They make system changes, upgrades, permission changes ect... and screw everything up.  Then offer little help in troubleshooting all the PHP scripts that suddenly don't work.

The Wall of fame works but won't accept uploads and my host just shruggs their shoulders and says "we'll think about this" :roll:  It makes me crazy.  I got to waste the little time I have dinking with settings and permissions trying to fix something I didn't even break :x

A sample of the errors all seem to revolve around image creation and access
Quote- Adding snapshot2.jpg
Warning: Unable to create '/usr/local/zeus/web_roots/main/www.gstwin.com/albums/member_bikes/akt.jpg': Permission denied in /export/home/johncall/www/gallery/platform/fs_unix.php on line 24

Warning: fopen("/usr/local/zeus/web_roots/main/www.gstwin.com/albums/member_bikes/photos.dat.1", "w") - Permission denied in /export/home/johncall/www/gallery/platform/fs_unix.php on line 53

Warning: fopen("/usr/local/zeus/web_roots/main/www.gstwin.com/albums/member_bikes/album.dat.5", "w") - Permission denied in /export/home/johncall/www/gallery/platform/fs_unix.php on line 53

Ugh.

ps.  Please don't go to the gallery and try to upload a pic.  It won't work and my host and me are playing with settings and stuff.  [/quote]
There is more to this site than a message board.  Check out http://www.gstwin.com

Fear the banana hammer!

john

Well they fixed it.  Some permissions setting on their end (ownership of the files).  All is well with the world finally.  4 wasted hours of my life I'll never get back.
There is more to this site than a message board.  Check out http://www.gstwin.com

Fear the banana hammer!

JamesG

James Greeson
GS Posse
WERA #306

Casimir

I had a hosting provider change our MX (mail exchanger) record when specifically and repeatedly instructed to not touch it. This resulted in ~100 people's email being routed to a single address.

When told about the problem they said they would fix it within 48 hours.  :o  I'm afraid I got a bit profain on the phone with them.  :x
'01 GS500 - Progressive springs, Kat 600 shock, Fenderectomy, Factory Pro jet kit

john

Quote from: CasimirI had a hosting provider change our MX (mail exchanger) record when specifically and repeatedly instructed to not touch it. This resulted in ~100 people's email being routed to a single address.

When told about the problem they said they would fix it within 48 hours.  :o  I'm afraid I got a bit profain on the phone with them.  :x

Well both my hosts are quicker than that -thank God.  I have seen response times in the order of an hour or two during daytime and late night in the 4 to 6 range.
There is more to this site than a message board.  Check out http://www.gstwin.com

Fear the banana hammer!

richard

future reference:

The problem that caused those error messages is that the permissions of the directory it was trying to write to:

/usr/local/zeus/web_roots/main/www.gstwin.com/albums/member_bikes/

had permissions set to not be writable to whomever the web server runs as.

in that directory, do a "ls -al" and it will tell you the user and group that the php app is saving as, and then you can adjust permissions appropriately to allow it to access those directories.  If all else fails, you can give the world write access to that dir (usually should be avoided, but would make the dir usable... and only to write to, won't change permissions on existing files) by doing a:

chmod 777 /usr/local/zeus/web_roots/main/www.gstwin.com/albums/member_bikes/



You can email me or contact me via instant messaging if you have any other problems with the board... I can probably help.  I suspect I'll be using this board a fair amount now that I bought Kerry's '95 GS, so it's worth my time. =]

Glad it works for now, though.
Richard

'96 GS500

Great news! I just saved a bundle on car insurance by switching to a motorcycle!

john

Well they did fix it.  It had to do with a change they implimented where the owner used to be web and now is (either my username or site name -I forget).  But they said they went in and fixed it and also said that with ssh I can change ownership on files (or directories I guess) by using the chown command.

I am sure this makes sense to you.  To me it means nothing.  My guess it was a security measure or just a change to conform to an industry accepted practice maybe :dunno:

I'll remember there is an expert with php files around here.  You never know when I may need help again.  Good to know someone can figure out php error goblidy gook :thumb:
There is more to this site than a message board.  Check out http://www.gstwin.com

Fear the banana hammer!

Wrencher

They did exactly what Richard described, as they would have to after changing the default user.

If you get tired of your current hosting, let me know. I might be in a possition to help you and the site out with alternate hosting if you are interested.
Initiative comes to those who wait!

Visit my homepage at http://127.0.0.1

Kerry

Quote from: richardI suspect I'll be using this board a fair amount now that I bought Kerry's '95 GS....
It's a '96, Richard!  A '96!  The only year with the dark frame - a '96!
Yellow 1999 GS500E
Kerry's Suzuki GS500 Page

richard

eh, same thing.  =]  Typo thingz. =]

Yeah, that's called "Safe Mode" in the PHP community... basically the difference is that now only your scripts can access your files, whereas before any other user on that server using PHP could have messed up all of your web-controlled stuff if they took the time to figure out where it was (not horribly difficult, particularly since you included the path in your earlier post... =])

It's a good trick, I've been meaning to look more into, but haven't had a reason, since nobody else uses my web server. ;-)

NEWayz, let me know if you need any help with things.

Take care.
Richard

'96 GS500

Great news! I just saved a bundle on car insurance by switching to a motorcycle!

SMF spam blocked by CleanTalk