Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Parse error


robreis

Recommended Posts

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....

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

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) == '"'){

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...