Union flag call 0330 660 0255status support
log in
  • Heart Internet mobile logo
  • Heart Internet Logo
  • Reseller Hosting
  • Premium Hosting
  • Web Hosting
  • VPS
  • Dedicated Servers
  • More

For account and billing queries call our helpline
0330 660 0255

For technical issues relating to your hosting please use our Support database



For information on the status of the Heart servers please use our status page

Heart Internet Support Database
  • Get support
  • Suggest a question
All Categories
Expand
Category
Accounts and Billing (54)
Expand
Category
Add-Ons (84)
Expand
Category
cPanel Web Hosting (26)
Expand
Category
Domain Names (203)
Expand
Category
Email Hosting (153)
Expand
Category
Managed WordPress (147)
Expand
Category
Reseller Hosting (162)
Expand
Category
Servers (514)
Collapse
Category
Web Hosting (650)
Expand
Category
Databases (75)
empty
Category
eXtend Control Panel (24)
empty
Category
FTP (20)
empty
Category
Glossary (28)
Collapse
Category
Programming Languages (139)
empty
Category
ASP (8)
empty
Category
HTML (9)
empty
Category
Other (8)
empty
Category
Perl (14)
empty
Category
PHP (36)
empty
Category
Python (6)
empty
Category
Ruby (5)
empty
Category
Site Management (47)
Expand
Category
Software (120)
empty
Category
Website Extras (37)
empty
Category
Website Problems (45)
Home » Categories » Multiple Categories

Why am I getting an error when my script tries to write to a file?

Article Number: 408 | Rating: Unrated | Last Updated: Thu, Apr 23, 2015 at 12:14 PM

If your script is giving you an error when you try to write to a file, it is likely that there are incorrect permissions on either your script or your file.

All users must be able to execute the file and the script.

If you log into your eXtend Control Panel, you can check the permissions of your files by clicking ‘Check Site Permissions’.  After you run the scan, you can then adjust permissions as necessary through the File Manager.

To adjust permissions in File Manager:

  1. Log into your eXtend Control Panel
  2. Click ‘File Manager’
  3. Double-click the directories until you are in the one that contains your script
  4. Click on your script
  5. Click on the Padlock icon (Chmod)
  6. Enter in 755 next to ‘Or enter a mode number’
  7. Click ‘Save’
  8. Double-click into the directory that holds your file
  9. Click on your file
  10. Click on the Padlock icon
  11. Enter in 755 next to ‘Or enter a mode number’
  12. Click ‘Save’

Test your script again in your browser.  If you are still seeing a server error, it might be the code within the script itself.

Posted - Mon, Mar 16, 2015 at 3:19 PM.
Filed Under: ASP, CGI, Other, Other, Perl, PHP, Programming Languages, Python, Ruby, Software, Web Hosting, Website Problems
0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PrinterPrint Article
  • Icon EmailEmail Article to Friend
  • Icon PDFExport to PDF
Related Articles
Why can’t I connect to my site using FTP?
Added on Fri, Mar 13, 2015
What does this website status code mean?
Added on Wed, Apr 1, 2015
How do I order an SSL Certificate?
Added on Tue, Dec 15, 2020
How do I get support from the Heart Internet Customer Services team?
Added on Tue, Mar 3, 2015
If I’ve bought my domain from another registrar, how can I host my website with you?
Added on Tue, Mar 10, 2015
 
Heart Internet Logo
Services
  • Domain Names
  • Web Hosting
  • Premium Hosting
  • Reseller Hosting
  • More
  • Virtual Private Servers
  • Dedicated Servers
  • Sign Up
Company
  • About Heart Internet
  • Our Blog
  • Support
  • Our Awards
  • More
  • Careers
  • Contact Us
  • Testimonials and Reviews
Community
  • Affiliate Program
  • Events We Sponsor
© 2016 Heart Internet Ltd. All rights reserved.
Terms and conditions Privacy Policy Sitemap
Heart Internet Logo