Guest [email protected] Posted October 14, 2005 Share Posted October 14, 2005 When I go to the webshop I get following error: Parse error: parse error, unexpected $, expecting ')' in /home/httpd/vhosts/eurozippo.com/httpdocs/includes/currencyVars.inc.php on line 44 and that's it, he doesn't go any further than that, this occured after a proper install, I removed the install folder and went to check my site, then it gave the error mentioned above. Anyone knows how to solve this? Thanx, Q Quote Link to comment Share on other sites More sharing options...
Guest jbdancer Posted October 14, 2005 Share Posted October 14, 2005 Can You post the code off includes/currencyVars.inc.php Quote Link to comment Share on other sites More sharing options...
Guest [email protected] Posted October 14, 2005 Share Posted October 14, 2005 Here it is <?php /* +-------------------------------------------------------------------------- | CubeCart v3.0.3 | ======================================== | by Alistair Brookbanks | CubeCart is a Trade Mark of Devellion Limited | © 2005 Devellion Limited | Devellion Limited, | Westfield Lodge, | Westland Green, | Little Hadham, | Nr Ware, HERTS. | SG11 2AL | UNITED KINGDOM | http://www.devellion.com | UK Private Limited Company No. 5323904 | ======================================== | Web: http://www.cubecart.com | Date: Thursday, 22 September 2005 | Email: info (at) cubecart (dot) com | License Type: CubeCart is NOT Open Source Software and Limitations Apply | Licence Info: http://www.cubecart.com/site/faq/license.php +-------------------------------------------------------------------------- | currencyVars.inc.php | ======================================== | Gets Currency Array +-------------------------------------------------------------------------- */ if(!isset($config)){ echo "<html>\r\n<head>\r\n<title>Forbidden 403</title>\r\n</head>\r\n<body><h3>Forbidden 403</h3>\r\nThe document you are requesting is forbidden.\r\n</body>\r\n</html>"; exit; } $override = array("viewOrder" => 1, "viewOrders" => 1); $page = $_GET['act']; if(isset($override[$page]) && $override[$page] == 1){ $cCode = $config['defaultCurrency']; } elseif(!empty($ccUserD Hope you can solve it... Thx, Q Quote Link to comment Share on other sites More sharing options...
Guest Posted October 14, 2005 Share Posted October 14, 2005 Is that the whole file, as you seem to have half of it missing? Quote Link to comment Share on other sites More sharing options...
Guest Posted October 14, 2005 Share Posted October 14, 2005 Re-upload the file from the download package. It didn't load properly for whatever reason. No biggie. ;) Quote Link to comment Share on other sites More sharing options...
Guest [email protected] Posted October 15, 2005 Share Posted October 15, 2005 Indeed, it was as easy as that, just uploading the file from the download-package. Thx a 1000 times, Q Quote Link to comment Share on other sites More sharing options...
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.