Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    May 2013
    Location
    Black Forest, CO
    Posts
    12
    Plugin Contributions
    0

    Default Can't get Template Selection to display in admin

    Help! I am opening up my store for the summer and I had to reload all the PHP scripts due to malware insertion. However, now the Template Selection tab in Admin-Tools does not work. It comes up a blank screen. Which probably means I am missing something. It appears everything is there, but......

    Can anyone give me any clues as to what might be the issue. All other admin functions appear to work just fine. But of course the site does not yet work because of this issue.

    Any suggestions. I am not smart enough to look at the template-select Files or template-Info file to see what might be missing.

    Thanks,

    Jeff

  2. #2
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Can't get Template Selection to display in admin

    Quote Originally Posted by jspector106 View Post
    Help! I am opening up my store for the summer and I had to reload all the PHP scripts due to malware insertion. However, now the Template Selection tab in Admin-Tools does not work. It comes up a blank screen. Which probably means I am missing something. It appears everything is there, but......

    Can anyone give me any clues as to what might be the issue. All other admin functions appear to work just fine. But of course the site does not yet work because of this issue.

    Any suggestions. I am not smart enough to look at the template-select Files or template-Info file to see what might be missing.

    Thanks,

    Jeff
    You don't mention your ZC version, but you should have an error log file depending on your version will depend where you'll find it.
    More importantly, do you know how to were hacked AND have to confirmed you have removed the point of entry?

  3. #3
    Join Date
    May 2013
    Location
    Black Forest, CO
    Posts
    12
    Plugin Contributions
    0

    Default Re: Can't get Template Selection to display in admin

    Quote Originally Posted by picandnix View Post
    You don't mention your ZC version, but you should have an error log file depending on your version will depend where you'll find it.
    More importantly, do you know how to were hacked AND have to confirmed you have removed the point of entry?
    Version is 1.5.0, which i was plannning on updating 1.5.1 until this problem came up. The malware wasa Base64 injection in the header of every PHP script. I think I got every file replaced or cleaned at this point, but then then this problem came up. So I missed something somewhere.

    Thanks for your help.

  4. #4
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Can't get Template Selection to display in admin

    Quote Originally Posted by jspector106 View Post
    Version is 1.5.0, which i was plannning on updating 1.5.1 until this problem came up. The malware wasa Base64 injection in the header of every PHP script. I think I got every file replaced or cleaned at this point, but then then this problem came up. So I missed something somewhere.

    Thanks for your help.
    So you should have a folder named logs in the same location as your includes folder and yourrenamedadmin folder etc. Have a look in there and post up the error file being generated by your blank page. Don't forget to ### out your admin directory name if it's mentioned in the file.

  5. #5
    Join Date
    May 2013
    Location
    Black Forest, CO
    Posts
    12
    Plugin Contributions
    0

    Default Re: Can't get Template Selection to display in admin

    OK, so here are the errors

    PHP Warning: require(DIR_WS_TEMPLATEStemplate_default/common/html_header.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in ***/zencart_new/index.php on line 43

    PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'DIR_WS_TEMPLATEStemplate_default/common/html_header.php' (include_path='.:/usr/local/php5_3/lib/php') in ***/zencart_new/index.php on line 43

    The html_header file is there in that directory.

  6. #6
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Can't get Template Selection to display in admin

    What happens when you revert back to the default (green) template?

  7. #7
    Join Date
    May 2013
    Location
    Black Forest, CO
    Posts
    12
    Plugin Contributions
    0

    Default Re: Can't get Template Selection to display in admin

    Quote Originally Posted by picandnix View Post
    What happens when you revert back to the default (green) template?
    It never gets that far. It goes to run the template_select.php script and stops.

  8. #8
    Join Date
    May 2013
    Location
    Black Forest, CO
    Posts
    12
    Plugin Contributions
    0

    Default Re: Can't get Template Selection to display in admin

    UPDATE:

    I was able to restore a few files thanks to the error logs and now I seem to have full access to the template. The next trick is to be able to bring up the pages of the store. I'm sure the same type of issue exists. Thanks for pointing me in the right direction

  9. #9
    Join Date
    May 2013
    Location
    Black Forest, CO
    Posts
    12
    Plugin Contributions
    0

    Default Re: Can't get Template Selection to display in admin

    BTW, I am still getting those same error message when i try to access the actual zencart shopping site and the main page does not come up.

  10. #10
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Can't get Template Selection to display in admin

    Quote Originally Posted by jspector106 View Post
    BTW, I am still getting those same error message when i try to access the actual zencart shopping site and the main page does not come up.
    Exactly the same?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 6
    Last Post: 7 Feb 2015, 05:16 PM
  2. Can't seem to get template on the admin/tools/template selection
    By avmejias in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 19 Aug 2012, 07:39 AM
  3. Can't get custom template to display - keeps using default
    By WhitePhantom in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 28 Jan 2010, 12:57 PM
  4. Custom template not showing in admin Template Selection
    By erinl in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 10 Aug 2008, 07:51 PM

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