Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Uploading a file  via ftp breaks script

Posted on 2011-03-17
2
Medium Priority
?
332 Views
Last Modified: 2012-05-11
I have been trying to make some changes to a tpl file for a shopping cart script (Prestashop), each time I made a change to a header.tpl file and uploaded the file back to the server, it would break the script and instead of getting a webpage in my browser, it displayed a blank page with no code in the source for the webpage. In order to fix the site/script I had to re-upload all files related to the script to the server. At first I had thought it was my code breaking the site or possibly notepad ++ or the encoding it was saving the file in, but I did an experiment, if I  don't make any changes to the .tpl file and just upload the original .tpl file and overwrite the one on the server, it breaks the entire script. What in the world is going on here? Here are some details that may be helpful:

Script Info:
Script: Prestashop
.tpl File: header.tpl

FTP Info:
FTP Client: Filezilla
Version: 3.3.5.1
Default Transfer Type: Auto

Server: Linux/CentOS

Any help to resolve this issue would be appreciated.

0
Comment
Question by:battleweb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 

Accepted Solution

by:
battleweb earned 0 total points
ID: 35160945
I was able to resolve this, it's pretty strange but the smarty/compile/ directory needs the right permissions to compile the new changes.
0
 

Author Closing Comment

by:battleweb
ID: 35160948
Resolved
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
In this blog, I will share you some basic tips for content marketing and to rank your website on Google.
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question