dotSilver Dating Partnership Network
Partner Home - Partner Sign-Up - Software - FAQ
Forum: Forums - Reply - Registration - Search

dotSilver Network Partner Support Forum / Dating Software Technical Support / Just changed my hosting service... still no luck!
Author Message
itdamon


Posted: 9 Jun 2005 11:25:53


OK... so now I've changed hosting services. It's a Linux box running apache. When the script writes to the cache folder (which is set at 777) it creates these "%%77" folders. They are created by the default group called "apache" and have rwx r-x --x permissions that can't be changed. (I can't even delete these folders!)

Tech support states that:
Anytime you have the apache server create folders or files on the fly
through php you will have the wrong user ID, you will need to manually
ftp these folders or files into your account so that you can work with
them.

Here are my errors. Is there a fix?

Warning: Smarty error: problem creating directory '/home/httpd/vhosts/mofracky.com/httpdocs/layouts/dp/cache/%%77/774' in /home/httpd/vhosts/mofracky.com/httpdocs/smarty/Smarty.class.php on line 1084

Warning: Smarty error: problem writing temporary file '/home/httpd/vhosts/mofracky.com/httpdocs/layouts/dp/cache//%%77/774/w rt42a8665a92919' in /home/httpd/vhosts/mofracky.com/httpdocs/smarty/Smarty.class.php on line 1084

Warning: Smarty error: problem creating directory '/home/httpd/vhosts/mofracky.com/httpdocs/layouts/dp/templates_c/%%77/ 774' in /home/httpd/vhosts/mofracky.com/httpdocs/smarty/Smarty.class.php on line 1084

Warning: Smarty error: problem writing temporary file '/home/httpd/vhosts/mofracky.com/httpdocs/layouts/dp/templates_c//%%77 /774/wrt42a8665a8dafc' in /home/httpd/vhosts/mofracky.com/httpdocs/smarty/Smarty.class.php on line 1084

Warning: fetch(): Unable to access /home/httpd/vhosts/mofracky.com/httpdocs/layouts/dp/templates_c//%%77/ 774/774BE9C9%%index.html.php in /home/httpd/vhosts/mofracky.com/httpdocs/smarty/Smarty.class.php on line 1255

Warning: fetch(/home/httpd/vhosts/mofracky.com/httpdocs/layouts/dp/templates_c/ /%%77/774/774BE9C9%%index.html.php): failed to open stream: No such file or directory in /home/httpd/vhosts/mofracky.com/httpdocs/smarty/Smarty.class.php on line 1255

Warning: fetch(): Unable to access /home/httpd/vhosts/mofracky.com/httpdocs/layouts/dp/templates_c//%%77/ 774/774BE9C9%%index.html.php in /home/httpd/vhosts/mofracky.com/httpdocs/smarty/Smarty.class.php on line 1255

Warning: fetch(/home/httpd/vhosts/mofracky.com/httpdocs/layouts/dp/templates_c/ /%%77/774/774BE9C9%%index.html.php): failed to open stream: No such file or directory in /home/httpd/vhosts/mofracky.com/httpdocs/smarty/Smarty.class.php on line 1255

Warning: fetch(): Unable to access /home/httpd/vhosts/mofracky.com/httpdocs/layouts/dp/templates_c//%%77/ 774/774BE9C9%%index.html.php in /home/httpd/vhosts/mofracky.com/httpdocs/smarty/Smarty.class.php on line 1255

Warning: fetch(/home/httpd/vhosts/mofracky.com/httpdocs/layouts/dp/templates_c/ /%%77/774/774BE9C9%%index.html.php): failed to open stream: No such file or directory in /home/httpd/vhosts/mofracky.com/httpdocs/smarty/Smarty.class.php on line 1255

Warning: fetch(): Failed opening '/home/httpd/vhosts/mofracky.com/httpdocs/layouts/dp/templates_c//%%77 /774/774BE9C9%%index.html.php' for inclusion (include_path='.:/php/includes:/usr/share/pear') in /home/httpd/vhosts/mofracky.com/httpdocs/smarty/Smarty.class.php on line 1255

.silver
Admin

Posted: 11 Jun 2005 00:03:45


cache and templates_c folders must be writable for web-server. This means that their permissions should be 777. If you can't set it manually, please ask your hosting to do so.

itdamon


Posted: 11 Jun 2005 10:04:45


That's the point. The folders are set at 777, but the subfolders and files automatically generated by the php script are not.

.silver
Admin

Posted: 13 Jun 2005 00:35:18


Automatically generated subfolders and files are created by apache(with php), this means that apache/php can rewrite them as well. This is the way the script works.

itdamon


Posted: 13 Jun 2005 13:11:57


I think I'm up and running!

I had to manually create and set permission for:

%%8E/8E1
%%AE/AEF
%%C5/C5F

Then I was able to get it working at www.mofracky.com

Will this come to bite me later? Apache/php couldn't read & write to the folders when it created them, but when I manually created them it worked. Will there be any more issues down the road because of this? (like if the script tries to create more directories?)

itdamon


Posted: 13 Jun 2005 13:49:02


OK... I'm having to manually go through and click every link... and I'm finding that I have to delete the directories created by PHP/apache and recreate them to set the 777 permissions. What a pain!

(version 0.6 will probably end up breaking everything I just did today anyway... lol)

.silver
Admin

Posted: 13 Jun 2005 23:19:27


This is an abnormal situation. You might want to ask your hosting support about this, because there seems to be apache misconfiguration. Server SHOULD be able to write to the folders and files created by itself.

You should really resolve this issue because it's going to cause you a lot more pain.

itdamon


Posted: 17 Jun 2005 16:12:41


Here is the response I got back from my hosting support. Am I hosed?

Ticket 80 has been closed by Dan Hancock from x2.xtreme-host.com.
Below is the comment.
-----
This is because php is run with SAFE_MODE ON.

SAFE_MODE PHP protects your files from other users on the server. And
vise versa. Without SAFE_MODE all other users on the server can read,
exectue or delete all your files including any databases or email or
webfiles.

You should never put your website on shared server without PHP
SAFE_MODE ON, otherwise your site WILL get hacked and defaced, it is only a
matter of time.

Any web host which offers shared servers with SAFE_MODE OFF do not know
what they are doing and will go out of business in a short period of
time.

We do not offer PHP that is not run under SAFE_MODE on shared servers.
Sorry.

.silver
Admin

Posted: 18 Jun 2005 00:10:38


I especially like the following part:

Any web host which offers shared servers with SAFE_MODE OFF do not know
what they are doing and will go out of business in a short period of
time.


We work with a hosting company on which PHP is not run in safe mode on shared servers and doesn't seem to suffer from it and not going to go out of business after all these years. Actually safe mode PHP is pretty much truncated in functionality. If your hosting can't resolve their security problems without putting PHP into safe mode you should definitely think about changing your hosting.

My 2 (dot)silver cents

itdamon


Posted: 18 Jun 2005 21:26:56


I take it you're putting in a plug for "hostforweb.com"?

I think I'll look into switching my hosting services... thanks for the 2 cents.

svrider650
Member

Posted: 19 Jun 2005 00:08:26


I am a webhost also if no one has a problem with it I can hook you up with hosting.

.silver
Admin

Posted: 19 Jun 2005 08:02:22


I'm putting in a plug for any good hosting meeting our software requirements. The main purpose is that you have a working site after all. Use hostforweb, use svrider's offer, use any hosting which will let you move on to the next stage - promotion and marketing.

svrider650
Member

Posted: 19 Jun 2005 15:36:08


if anyone is interested go to http://www.real247hosting.com I have this working for me so I know it will work for anyone else.

Svrider650

Anonymous


Posted: 19 Jun 2005 16:06:02


i will host you if you like....

matt@fuzionhost.com


Posted: 19 Jun 2005 16:07:12


contact me by email I will handle your hosting if you like matt@fuzionhost.com

matt@fuzionhost.com


Posted: 19 Jun 2005 16:53:22


I will even install the script for you

itdamon


Posted: 20 Jun 2005 04:14:57


BASTARDS!

So here is my response to my hosting service (LOL)

Hi,

I am an avid supporter of the PHP community, and your service has left many of us in awe of your odacity. If you can not put my website on a server that supports SAFE_MODE OFF in order to run our scripts, we will not be looking to you for hosting services. I have gotten over a dozen offers from other hosting services that will support my scripts... and guess what? They have all been in business for many many years. If you are unable to get your security in place to allow scripts written in PHP to access files and folders, then you my friend, are in danger of running out of business.

Check out the post from my senior level PHP programmer:

Posted: 18 Jun 2005 00:10:38
Quote

I especially like the following part:

Any web host which offers shared servers with SAFE_MODE OFF do not know
what they are doing and will go out of business in a short period of
time.

We work with a hosting company on which PHP is not run in safe mode on shared servers and doesn't seem to suffer from it and not going to go out of business after all these years. Actually safe mode PHP is pretty much truncated in functionality. If your hosting can't resolve their security problems without putting PHP into safe mode you should definitely think about changing your hosting.

My 2 (dot)silver cents

This is my final post before switching hosting services, and believe me, I've got a dozen other programmers / web developers involved in this project that are looking for hosting services. You can either fix the problem on you end (which is where it is), or lose our business.

Your response is greatly appreciated.
Please think about it first before slamming me with another insulting response.

-Damon

IN CASE YOU DO NOT REMEMBER YOUR ORIGINAL CONDESCENDING POST, HERE IT IS IN ITS ENTIRETY:

Ticket 80 has been closed by Dan Hancock from x2.xtreme-host.com.
Below is the comment.
-----
This is because php is run with SAFE_MODE ON.

SAFE_MODE PHP protects your files from other users on the server. And
vise versa. Without SAFE_MODE all other users on the server can read,
exectue or delete all your files including any databases or email or
webfiles.

You should never put your website on shared server without PHP
SAFE_MODE ON, otherwise your site WILL get hacked and defaced, it is only a
matter of time.

Any web host which offers shared servers with SAFE_MODE OFF do not know
what they are doing and will go out of business in a short period of
time.

We do not offer PHP that is not run under SAFE_MODE on shared servers.
Sorry.

.silver
Admin

Posted: 20 Jun 2005 05:30:18


I can't believe this people run a hosting company.

Please, stop losing time - switch to another host service.

Forum posts are closed
 » Name  » Password 
 


Powered by miniBB 2.0 RC2b © 2001-2012