Guest Posted January 12, 2005 Share Posted January 12, 2005 I am recieving a parse error in my code on line 26 of a new info box I created. (I used the information.php as a template) the code is: $info_box_contents[] = array('text' => '<a href="http://www.kristenscatbeds.com/catalog/includes/languages/english/ebay.php">' Ebay Auctions '</a><br>'); Maybe I am doing something that is now allowed. I created a new info box and it appears on my website (yeah) I then went ahead to add a link for my auctions. I fixed other problems by doing what the error said (missing this, expecting that) but this one has stumped me. I am learning the programming as I go... :blush: Link to comment Share on other sites More sharing options...
♥ozcsys Posted January 12, 2005 Share Posted January 12, 2005 I am recieving a parse error in my code on line 26 of a new info box I created. (I used the information.php as a template)the code is: $info_box_contents[] = array('text' => '<a href="http://www.kristenscatbeds.com/catalog/includes/languages/english/ebay.php">' Ebay Auctions '</a><br>'); Maybe I am doing something that is now allowed. I created a new info box and it appears on my website (yeah) I then went ahead to add a link for my auctions. I fixed other problems by doing what the error said (missing this, expecting that) but this one has stumped me. I am learning the programming as I go... :blush: <{POST_SNAPBACK}> Try Do you have Ebay Auctions defined in a language file? If not try '<a href="http://www.kristenscatbeds.com/catalog/includes/languages/english/ebay.php">Ebay Auctions</a><br>'); If you do then try '<a href="http://www.kristenscatbeds.com/catalog/includes/languages/english/ebay.php">' . Ebay Auctions . '</a><br>'); The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right?? Link to comment Share on other sites More sharing options...
♥Vger Posted January 12, 2005 Share Posted January 12, 2005 Try this ebay.php">' . 'Ebay Auctions' . '</a><br>'); Vger Link to comment Share on other sites More sharing options...
Guest Posted January 12, 2005 Share Posted January 12, 2005 :D Thank you! The box lists with the link now. I tried both replies and both suggestions worked! I encountered another error aftwards that the file ebay.php is forbidden access on my server. I am going to try some things with that but any suggestions are welcomed too!! Thank you again!!!!!!!!!! Link to comment Share on other sites More sharing options...
jpweber Posted June 19, 2006 Share Posted June 19, 2006 OZC writes: TryDo you have Ebay Auctions defined in a language file? If not try '<a href="http://www.kristenscatbeds.com/catalog/includes/languages/english/ebay.php">Ebay Auctions</a><br>'); If you do then try '<a href="http://www.kristenscatbeds.com/catalog/includes/languages/english/ebay.php">' . Ebay Auctions . '</a><br>'); Great advice! I googled this, and it helped me out with my syntax error. If it's nto defined as a language file, you use different syntax than if it is defined by a language file. Thank you, Ozc, J Jason Simple 1-2-3 Intructions on how to get, install and configure SSL The Google Sandbox explained Simple to follow instructions on how to change the look of your OSC How To Make A Horrible OSC Website my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.