Not able to connect to OSClass market on Ubuntu

Issue – Not able to connect to OSClass Market

I recently installed OSClass 3.7.4 on my fresh VPS with Ubuntu 16.04 and PHP7 for testing purposes but when I tried to connect to OSClass market from admin backend, I was not able to connect. I did not even get any error messages, just the login popup/modal kept coming again and again. I looked through internet for the problem and saw that many users have faced this problem before but there was no real solution. OSClass forums also do not have a proper installation guides or helpful comments for that matter.

I have OSClass running on a shared hosting account http://www.hindustanmerijaan.com/indian-business-directory/ but haven’t faced the problem before.

Solution

I started comparing all the configurations from working installations and on comparing PHPInfo (used very helpful plugin PHPinfo) outputs from both sources, I found that cURL PHP extension was not enabled. I installed it as below on Ubuntu 16.04:

sudo apt-get install php7.0-curl 

Please note that if you are running PHP7, just running sudo apt-get install php-curl might not work in some cases. Check your PHP version using php -version .

Try

sudo apt-get install php5-curl

in case of PHP 5.X .

Once cURL is installed, restart apache using sudo service apache2 restart . Now reload PHP Info and you should see CURL enabled as below:

cURL to fix OSClass market problem

Try to connect to OSClass market now and you should be able to connect.

Conclusion

Always be sure to load all the correct server configurations and extensions when installing OSClass fresh. OSClass team has very poor documentation on installation and their support forums also do not list correct steps and configurations. I am working on posting a comprehensive installation document for OSClass and will post it shortly. Meanwhile, if you face any other issues, feel free to let me know using comments below.

If you found this article useful, please share it so others may take its advantage as well.

Happy Listing !!!

Other useful links

  1. Ubuntu Tutorials

 

Updated: August 13, 2017 — 12:47 am

Leave a Reply

Technology Central © 2014 - 2017 | Privacy Policy | Website Terms & Conditions