Author Topic: "Sorry, Your Abantecart cannot connect with extension store."  (Read 9099 times)

Offline denagpam

  • Full Member
  • ***
  • Posts: 103
  • Karma: +7/-9
    • View Profile
"Sorry, Your Abantecart cannot connect with extension store."
« on: September 15, 2012, 07:43:47 AM »
Yes, after I click on "Extensions Store" there is a statement:

"Sorry, Your Abantecart cannot connect with extension store. Please see System->Error logs for details."

I have included the attachment of the errors.

(my store website address: "goolysmart.co.cc")

Anyone can help me regarding this?

For your answer, I wanna say thank you.
« Last Edit: September 15, 2012, 07:50:57 AM by denagpam »

Offline Nimitz1061

  • Full Member
  • ***
  • Posts: 190
  • Karma: +22/-0
  • No matter where you go, there you are...
    • View Profile
Re: "Sorry, Your Abantecart cannot connect with extension store."
« Reply #1 on: September 15, 2012, 11:05:33 AM »
There are two sets of messages which may be related to this event in your log.  The first is:

Code: [Select]
2012-09-15 11:27:01 - warning:  simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: /home/u935173008/public_html/admin/system/updates.xml:3: parser error : Start tag expected, '&lt;' not found in <b>/home/u935173008/public_html/admin/model/tool/updater.php</b> on line <b>73</b>
2012-09-15 11:27:01 - warning:  simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]:  in <b>/home/u935173008/public_html/admin/model/tool/updater.php</b> on line <b>73</b>
2012-09-15 11:27:01 - warning:  simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: ^ in <b>/home/u935173008/public_html/admin/model/tool/updater.php</b> on line <b>73</b>

The second is:

Code: [Select]
2012-09-15 11:27:02 - warning:  curl_setopt_array() [<a href='function.curl-setopt-array'>function.curl-setopt-array</a>]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in <b>/home/u935173008/public_html/core/lib/connect.php</b> on line <b>339</b>
2012-09-15 11:27:02 - Error: Can't get data(file) by URL http://www.abantecart.com/mp_api2?store_id=64e44c0e625bccf4e601fd28b745365b&store_ip=31.170.167.195&store_url=http%3A%2F%2Fgoolysmart.co.cc%2F&store_version=1.0.4&language_code=en, HTTP status code : 301

The first one indicates a need to set your admin/system/ folder permissions to allow writing by the web user. 

The second one indicates first that the CURL_FOLLOWLOCATION  feature can not be set because either your server is using PHP's deprecated Safe Mode setup, or (more likely) quite correctly has an Open Basedir restriction kept in order to prevent the PHP installation from accessing files outside your user account.  It then reports a 301 (permanently moved) status on the HTTP connection to the abantecart website.

So, your installation is not reaching the extension store.   

David

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: "Sorry, Your Abantecart cannot connect with extension store."
« Reply #2 on: September 16, 2012, 05:54:12 PM »
There are two sets of messages which may be related to this event in your log.  The first is:

Code: [Select]
2012-09-15 11:27:01 - warning:  simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: /home/u935173008/public_html/admin/system/updates.xml:3: parser error : Start tag expected, '&lt;' not found in <b>/home/u935173008/public_html/admin/model/tool/updater.php</b> on line <b>73</b>
2012-09-15 11:27:01 - warning:  simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]:  in <b>/home/u935173008/public_html/admin/model/tool/updater.php</b> on line <b>73</b>
2012-09-15 11:27:01 - warning:  simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: ^ in <b>/home/u935173008/public_html/admin/model/tool/updater.php</b> on line <b>73</b>

The second is:

Code: [Select]
2012-09-15 11:27:02 - warning:  curl_setopt_array() [<a href='function.curl-setopt-array'>function.curl-setopt-array</a>]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in <b>/home/u935173008/public_html/core/lib/connect.php</b> on line <b>339</b>
2012-09-15 11:27:02 - Error: Can't get data(file) by URL http://www.abantecart.com/mp_api2?store_id=64e44c0e625bccf4e601fd28b745365b&store_ip=31.170.167.195&store_url=http%3A%2F%2Fgoolysmart.co.cc%2F&store_version=1.0.4&language_code=en, HTTP status code : 301

The first one indicates a need to set your admin/system/ folder permissions to allow writing by the web user. 

The second one indicates first that the CURL_FOLLOWLOCATION  feature can not be set because either your server is using PHP's deprecated Safe Mode setup, or (more likely) quite correctly has an Open Basedir restriction kept in order to prevent the PHP installation from accessing files outside your user account.  It then reports a 301 (permanently moved) status on the HTTP connection to the abantecart website.

So, your installation is not reaching the extension store.   

David
we already fixed this bug. release will be soon:)
thank you
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline denagpam

  • Full Member
  • ***
  • Posts: 103
  • Karma: +7/-9
    • View Profile
Re: "Sorry, Your Abantecart cannot connect with extension store."
« Reply #3 on: September 17, 2012, 09:37:12 AM »
Yes, I have corrected the second issue. So, the second issue has been solved. But, the first issue still arise although I have made the admin/system/ writable by change the chmod permission to 777. But, it still has not solved the problem yet.

O yes, I forgot about something. After I uploaded all AbanteCart cart files into my hosting server, there is a @LongLink file.
And on my error log, I have found:
2012-09-17 14:14:17 - runtime notice:  Declaration of AMenu_Storefront::_buildMenu() should be compatible with that of AMenu::_buildMenu() in <b>/home/u935173008/public_html/core/lib/menu_control_storefront.php</b> on line <b>280</b>
2012-09-17 14:14:17 - runtime notice:  Declaration of AAttribute_Manager::getAttributes() should be compatible with that of AAttribute::getAttributes() in <b>/home/u935173008/public_html/core/lib/attribute_manager.php</b> on line <b>548</b>

I hope you can help me with this.

Thanks for your answer.
« Last Edit: September 17, 2012, 08:35:05 PM by denagpam »

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: "Sorry, Your Abantecart cannot connect with extension store."
« Reply #4 on: September 26, 2012, 12:07:34 PM »
Yes, I have corrected the second issue. So, the second issue has been solved. But, the first issue still arise although I have made the admin/system/ writable by change the chmod permission to 777. But, it still has not solved the problem yet.
parent folder (public_html or something like that) is also 777?
O yes, I forgot about something. After I uploaded all AbanteCart cart files into my hosting server, there is a @LongLink file.
And on my error log, I have found:
2012-09-17 14:14:17 - runtime notice:  Declaration of AMenu_Storefront::_buildMenu() should be compatible with that of AMenu::_buildMenu() in <b>/home/u935173008/public_html/core/lib/menu_control_storefront.php</b> on line <b>280</b>
2012-09-17 14:14:17 - runtime notice:  Declaration of AAttribute_Manager::getAttributes() should be compatible with that of AAttribute::getAttributes() in <b>/home/u935173008/public_html/core/lib/attribute_manager.php</b> on line <b>548</b>
I hope you can help me with this.
Thanks for your answer.
http://stackoverflow.com/questions/4017193/php-5-3-declaration-of-should-be-compatible-with-that-of-error
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

 

Powered by SMFPacks Social Login Mod