Solved

Uploading a file  via ftp breaks script

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

This article shows how a content item can be identified directly or through translation of a navigation type. It then shows how this information can be used to create a menu for further navigation.
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

743 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now