Jump to content
Sign in to follow this  
Adamanto75

Social Runner Connector?

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×