cancel
Showing results for 
Search instead for 
Did you mean: 

System>Confiuration - Curl.php on line 59 Parse error

System>Confiuration - Curl.php on line 59 Parse error

Can someone please help a noob.

 

I am getting a Parse error when I try accessing the System>Configuration

 

Error is:

 

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home2/user/public_html/mywebsite.com/app/code/core/Mage/Adminhtml/Block/Notification/Curl.php on line 59

 

any help will be greatly appreciated.

 

I'm on 1.9.3.1

 

Thank you,

1 REPLY

Re: System>Confiuration - Curl.php on line 59 Parse error

FYI: I found my own solution and after HOURS!!! searching thru forums and search engine hits NOTHING Smiley Sad

 

If anyone else comes to this problem here was my solution:

 

File causing the problem is: "Curl.php"

From package: Mage_Adminhtml

Location: /app/code/core/Mage/Adminhtml/Block/Notification

 

Line codes to fix:

 

Needs to be as listed below:

Line 42:     protected $_curlVersion;

 

Line 59:     && !version_compare($this->_curlVersion['version'], $this->REQUIRED_CURL_VERSION, '>=')

 

Line 77:     $this->REQUIRED_CURL_VERSION

 

After I made these changes to Curl.php and uploaded to the server my Systems>Configuration panel came back. 

 

Hope this helps the next person