Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Social Runner Connector?


Adamanto75

Recommended Posts

Hello Everyone,

 

I'm having problem with some of the code that is in the installation instructions and the support forum for social runner is down.

 

When I put this code into the admin/categories.php

 

case 'promote':
		    if (isset($HTTP_GET_VARS['pID'])) {
			    $products_id = tep_db_prepare_input($HTTP_GET_VARS['pID']);
			    require(DIR_WS_FUNCTIONS . 'SocialRunnerConnector.php');
			    SrBroadcast($products_id);
		    }
		    tep_redirect(tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath ));
		    break;

 

It gives me this error when I try to access product catalog in my admin

 

Parse error: syntax error, unexpected T_CASE in /hermes/web08/b2492/moo.oursacredgardencom/oursacredgarden.com/69privates68/categories.php on line 486

 

Did anyone else have this problem?

 

Maybe I'm putting it in the wrong place in the code (those instructions aren't very clear) so if anyone has put this code in successfully could you please post those lines of code so I could see exactly where you put it.

 

 

I'm using osc 2.3.1

 

I also installed Header Tags SEO (maybe these two add ons aren't compatible??)

 

Any advice would be greatly appreciated.

 

Thank You

 

Adamanto75

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