Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2010
    Location
    South Wales
    Posts
    6
    Plugin Contributions
    0

    Default Problem moving to another server

    Hi,

    We have an installation of ZenCart (zen-cart-v1.3.9d-full-fileset-06032010) on our server up and working fine.

    However we are moving to another server, so I have set up a spare domain we had on the new server and am installing on that to make sure I can successfully complete the transfer before moving the real domain.

    I have transfered everything ok, although one thing isnt working properly. We have a drop down currency option at the top of the page and instead of showing the drop down box its actually printing the PHP.

    I guess I could just edit the file and remove teh dropdown box but If its printing this PHP who knows what other code customers might stumble across!

    (SS attached)

    Any help appreciated! :)

    JackLloyd.


  2. #2
    Join Date
    Dec 2010
    Location
    South Wales
    Posts
    6
    Plugin Contributions
    0

    Default Re: Problem moving to another server

    EDIT:

    Problem solved, it was the code section on the tpl_header.php page started <? not <?php

    Just thought I'd post incase someone else had a similar problem (not sure how they would find this thread mind!)

  3. #3
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Problem moving to another server

    <? is a PHP Short Tag, whilst <?php is the Full Tag. You moved from a server which allows Short Tags to one which doesn't.

    I'm surprised that you found any Short Tags in the default Zen Cart. I'll have to go and check it out.

    Vger

  4. #4
    Join Date
    Dec 2010
    Location
    South Wales
    Posts
    6
    Plugin Contributions
    0

    Default Re: Problem moving to another server

    Sorry for late reply. Its probably because of the template we are using which would explain why you were so surprised, probably nothing to do with zencart per se :)

 

 

Similar Threads

  1. Moving to another server
    By kdipaolo in forum General Questions
    Replies: 4
    Last Post: 11 Jun 2012, 10:00 PM
  2. Problems moving to another server
    By malachi in forum Installing on a Windows Server
    Replies: 2
    Last Post: 28 Dec 2010, 07:16 AM
  3. Moving from another server
    By carter in forum Installing on a Linux/Unix Server
    Replies: 10
    Last Post: 29 Apr 2008, 12:04 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR