Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Easy Populate won't work


Guest

Recommended Posts

I tried this in 2.75 and 2.76. I have read everything five times, and I am still getting nothing on this error:

 

"Fatal error: Cannot re-assign $this in c:\wamp\www\wamp_dev\catalog\admin\includes\classes\upload.php on line 31"

 

PLease help?

Link to comment
Share on other sites

Hey, thanks a bunch! At least now it opens a page, but there is an error. ((Do you mean to tell me that it was a php syntax issue? (How did you figure that out)?))

 

The only thing is, now I get this even stranger (to me) error:

 

Parse error: syntax error, unexpected T_STRING, expecting ')' in c:\wamp\www\wamp_dev\catalog\admin\includes\boxes\catalog.php on line 27

 

Here's line 27 (part of an array):

 

'<a href="' . tep_href_link(FILENAME_MANUFACTURERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_MANUFACTURERS . '</a><br>' .

 

any ideas here?

Link to comment
Share on other sites

Hey, thanks a bunch! At least now it opens a page, but there is an error. ((Do you mean to tell me that it was a php syntax issue? (How did you figure that out)?))

 

The only thing is, now I get this even stranger (to me) error:

 

Parse error: syntax error, unexpected T_STRING, expecting ')' in c:\wamp\www\wamp_dev\catalog\admin\includes\boxes\catalog.php on line 27

 

Here's line 27 (part of an array):

 

'<a href="' . tep_href_link(FILENAME_MANUFACTURERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_MANUFACTURERS . '</a><br>' .

 

any ideas here?

 

The "cannot reassign" error is a common problem in code written for PHP 4 (in which that line is allowed) that runs on PHP 5. A Google search will give you plenty of information on it if you're interested.

 

If it's part of an array, you're probably missing a closing ). Syntax errors are usually because you forgot a ;, or a closing ) or }. If you can't figure it out, you need to post the 10 or so lines before and the 10 lines after line 27.

Contributions

 

Discount Coupon Codes

Donations

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.

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