Guest Posted April 5, 2005 Posted April 5, 2005 OK, been doing well so far adding contributions but this one stumped me. I will try and show the error and code if someone can point me in the right direction. When going throu admin to catalog section I get this error: Parse error: parse error, unexpected T_ELSEIF in /hsphere/local/home2/a092598/mrbundles.com/catalog/admin/categories.php on line 677 This is what line 677 looks like: } elseif ($action = 'new_product_preview') { On my main screen in the box for the wish list the customer is getting this: BOX_HEADING_CUSTOMER_WISHLIST BOX_WISHLIST_EMPTY BOX_HEADING_CUSTOMER_WISHLIST [+] BOX_HEADING_CUSTOMER_WISHLIST_HELP [?] Any thought on whats wrong? Thank you. Quote
Guest Posted April 5, 2005 Posted April 5, 2005 OK, been doing well so far adding contributions but this one stumped me. I will try and show the error and code if someone can point me in the right direction. When going throu admin to catalog section I get this error: Parse error: parse error, unexpected T_ELSEIF in /hsphere/local/home2/a092598/mrbundles.com/catalog/admin/categories.php on line 677 This is what line 677 looks like: } elseif ($action = 'new_product_preview') { OK, I fixed the main page, but still getting error message for line 677 when trying to get into catalog from admin Quote
fatmcgav Posted April 5, 2005 Posted April 5, 2005 OK, I fixed the main page, but still getting error message for line 677 when trying to get into catalog from admin <{POST_SNAPBACK}> Try putting a space between 'else' and 'if' Quote
Guest Posted April 5, 2005 Posted April 5, 2005 Try putting a space between 'else' and 'if' <{POST_SNAPBACK}> I got it, was missing a }} in the code from bad cutting and pasting. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.