Open Classifieds problem with clicking category

Avatar
  • Answered
Hello

We are running the website: careinfocenter.nl based on openclassifieds.
A few weeks ago we got an error after clicking a category. The support chat solved the problem by changing the PHP version to 5.3.
Since a few days the problem came back and i found out that setting the version to 5.2, the error disappeared, but (strange enough) also the pictures.
Back to 5.3: error and pictures were back again.

I hope somebody can help us.

Thanks in advance

Marc
Avatar
Arn
Hello Marc, Sorry for the problem with OpenClassifieds. I spent a little time reviewing the ticket and history in your account. OpenClassifieds provides an error log in this path: /public_html/oc/logs/2016 You can view the file of the latest log using the cPanel File Manager. I'm seeing the following: 2016-03-23 00:04:52 --- ERROR: ErrorException [ 8 ]: Undefined variable: file1 ~ DOCROOT/themes/default/views/pages/ad/display_ad_mkk.php [ 42 ] 2016-03-23 00:08:31 --- ERROR: ErrorException [ 8 ]: Undefined variable: file1 ~ DOCROOT/themes/default/views/pages/ad/display_ad_mkk.php [ 42 ] 2016-03-23 00:15:11 --- ERROR: ErrorException [ 8 ]: Undefined variable: file1 ~ DOCROOT/themes/default/views/pages/ad/display_ad_mkk.php [ 42 ] 2016-03-23 00:25:12 --- ERROR: ErrorException [ 8 ]: Undefined variable: file1 ~ DOCROOT/themes/default/views/pages/ad/display_ad_mkk.php [ 42 ] I did try to change the PHP version from 5.3 to 5.2 with no results at first. When I looked at the setting in your cPanel (under PHP Configuration), it was set to 5.5. I noticed that your installation has a separate .htaccess file where the PHP version change was not reaching. So I added the php handler line used in the top level .htaccess file: # Use PHP52 as default AddHandler application/x-httpd-php52 .php When I did this, the categories started displaying again. However, the graphics are not displaying on the page. The error messages that are listed in the log above is probably indicating the reason. At this point, it appears to be a possible configuration issue. I'm not sure what configuration piece is missing as this is third-party software that we don't often see, use or troubleshoot. My suggestion to you is to reach out to the OpenClassifieds Support team. They have both a free and professional support option at that link. We have at least solved a part of the issue by getting the categories to display. Please use OpenClassified's support options to solve the remaining configuration error. If you have any further questions or comments, please let us know. Regards, Arnel C.