robreis Posted March 10, 2003 Share Posted March 10, 2003 Hello. I install EP and when i clik on link i got this error: Parse error: parse error in /home/collectp/public_html/cpcart/admin/easypopulate.php on line 1067. Can i have help on this? Quote Link to comment Share on other sites More sharing options...
Druide Posted March 10, 2003 Share Posted March 10, 2003 parse error is normally an extra space at the end of the file after ?> (on the end) eliminate those spaces ALWAYS !!! this causes header problems or you missed a } somewhere during your modifications, but i dont think thats the case here.... I hope this will put you on the right track for this.... Quote Robert We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;) Link to comment Share on other sites More sharing options...
robreis Posted March 10, 2003 Author Share Posted March 10, 2003 The only thing that i did was change the temo directory as explained on manual o easy populate. The lines i have are, the first line is the line 1067 $items[$i] = str_replace('""',""",$items[$i]); if ($replace_quotes){ $items[$i] = str_replace('"',""",$items[$i]); $items[$i] = str_replace("'","'",$items[$i]); } } else { // no magic_quotes are on // check if the last character is a quote; // if it is, chop off the 1st and last character of the string. if (substr($items[$i],-1) == '"'){ Quote Link to comment Share on other sites More sharing options...
robreis Posted March 10, 2003 Author Share Posted March 10, 2003 i wanted to tell temp directory instead of temo directory Quote Link to comment Share on other sites More sharing options...
wasson65 Posted March 14, 2003 Share Posted March 14, 2003 Check the edits you did to the tempdir variables. Make sure they have semicolon's at th end of each line. Make sure the quotes are at each end of the temp directory name. Tim Quote Link to comment Share on other sites More sharing options...
Guest Posted March 14, 2003 Share Posted March 14, 2003 I was editing with the file manager and getting that error. Downloaded and edited with winsyntax the same exact thing and no problem. check the end of the line you are editing and make sure it doesn't move the ; to the next line. hth, Tony 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.
Note: Your post will require moderator approval before it will be visible.