Solved

Uploading a file  via ftp breaks script

Posted on 2011-03-17
2
331 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

A big percent of today’s marketing activity is performed through the online environment. The marketing strategies that have existed a decade ago no longer relate to what’s happening today. We’re currently facing a revolutionary era, called the digit…
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to dynamically set the form action using jQuery.

624 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