Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Fatel Error Help Please

    That is decidedly strange. Somehow the opening { was deleted from both of the if statements - compare them, they should be like

    if (... ) {

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Fatel Error Help Please

    Your copy of the file may have been corrupted - if you didn't edit it to remove the {s, I doubt anyone else did.

    How did you install Zen Cart? Do you have an FTP program to transfer files to your pc for editing? What did you use to edit files?

  3. #3
    Join Date
    Aug 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: Fatel Error Help Please

    Quote Originally Posted by gjh42 View Post
    Your copy of the file may have been corrupted - if you didn't edit it to remove the {s, I doubt anyone else did.

    How did you install Zen Cart? Do you have an FTP program to transfer files to your pc for editing? What did you use to edit files?
    I am using cPanel File manager provided by Hostmonster

    Oh i am sure it was my doing. I was trying to set up a custom template.

  4. #4
    Join Date
    Aug 2007
    Posts
    19
    Plugin Contributions
    0

    red flag Re: Fatel Error Help Please

    No I receive this error message

    Parse error: syntax error, unexpected '{' in /home/sweetshi/public_html/admin/template_select.php on line 28

    Here is what it looks like now. I have tried 5 different ideas and still I am not getting through. Thank you for your efforts. I appreciate your help.

    **************Here is what it looks like now


    require('includes/application_top.php');
    // get an array of template info
    $dir = @dir(DIR_FS_CATALOG_TEMPLATES);
    if (!$dir) die('DIR_FS_CATALOG_TEMPLATES NOT SET');
    while ($file = $dir->read()) {
    if (is_dir(DIR_FS_CATALOG_TEMPLATES . $file) && strtoupper($file) != 'CVS' && $file != 'template_default') {
    if (file_exists(DIR_FS_CATALOG_TEMPLATES . $file . '/template_info.php') {
    (require(DIR_FS_CATALOG_TEMPLATES . $file . '/template_info.php');
    $template_info[$file] = array('name' => $template_name,
    'version' => $template_version,
    'author' => $template_author,
    'description' => $template_description,
    'screenshot' => $template_screenshot);
    }
    }
    }

 

 

Similar Threads

  1. fatel error - site gone blank
    By adi5402 in forum General Questions
    Replies: 4
    Last Post: 22 Nov 2009, 09:13 AM
  2. Fatel Error Help Please
    By sweetshi in forum Basic Configuration
    Replies: 1
    Last Post: 25 Aug 2007, 08:44 PM
  3. Fatel Error Help Please
    By sweetshi in forum General Questions
    Replies: 1
    Last Post: 25 Aug 2007, 08:43 PM
  4. Fatel Error on Main Page
    By renm in forum Basic Configuration
    Replies: 1
    Last Post: 13 Sep 2006, 09:44 AM

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