0

Hi everyone,

I recently transferred my host from other host provider to blue host. In my code there is logic, when user updates property (Basically, its a real estate website) then, it creates/write xml file in media/xmlfeeds folder. Earlier, on previous host it was working absolutely fine but, after transfer it's not working. I tested same folder on localhost, it's working fine but, on live server its not writing/creating xml file when user updates property. Kindly, help me.

Thanks in advance..

Edited by diafol: removed code tags

3
Contributors
4
Replies
5
Views
5 Years
Discussion Span
Last Post by javedsai
0

I had some problems in the past with Bluehost's permissions. You might try playing around with those on the files/folder in question.

0

Run a phpinfo() , and look for your server's API value. If it says, apache module or anything referring to apache, CHMOD the directory where the written files are saved to 0777 or 777. If the server's API says CGI or fast CGI, CHMOD it to 0755 or 755. If the CHMOD 077 or 777 is used, try searching on how to protect your directory in .htaccess file, so that only your script can write to it.

0

I got the solution. It just because bluehost doesn't supports multiple join which is something weird. Hence, its not fulfilling the condition that's why its not writing xml file.

0

Finally, I'm transferring my website from bluehost to some other server. Let's hope for the best.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.