Forums

Front End Editor activate error (3 posts)

  1. r_m
    Member
    Posted 2 weeks ago #

    I have been trying to activate this plug-in but everytime I do it gives me this error.

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/sites/ocd.co.uk/public_html/wp-content/plugins/front-end-editor/scb/load.php on line 21

    Here is the code which i think it is talking about

    if ( !class_exists('scbLoad') ) :
    class scbLoad
    {
    	private $data;
    
    	function __construct($file, $rev)
    	{
    		$this->data = array(
    			'rev' => $rev,
    			'path' => dirname($file),
    		);

    P.S I am not that good with programming so any help or advice would be brilliant.

    thanks

    r_m

  2. MichaelH
    moderator
    Posted 2 weeks ago #

    I'd recommend deleting the complete front-end-folder in your wp-content/plugins folder and install the plugin again. If you are using FTP to upload the plugin make sure you are using ASCII mode to transfer the files to your host.

    I just activated that plugin successfully.

  3. scribu
    Member
    Posted 2 weeks ago #

    Other than that, read the FAQ.

Reply

You must log in to post.

About this Topic