CBOX Slider Issue Workaround
- This topic has 3 replies, 2 voices, and was last updated 11 years ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Tagged: slider workaround
Hey everyone, I was locally developing a website for an organization that requested I use CBOX for the website theme (as it is a collaboration website). I updated to the latest WordPress (Version 3.9) and CBOX (Version ?) in my Dashboard. I was using Windows 7 x64 bit, on a WAMP server, the installation went fine. The CBOX theme applied, the issue was with the slider.
Whenever I added content to the slider, a series of PHP errors would come up in front of the slide picture (which loaded, oddly). It was a frustrating error, but seeing as how I was on a deadline, I downloaded Smart Slider 2, and replaced the PHP in the homepage.php template of the CBOX theme that loaded the default slider with the Smart Slider 2 code that is provided in the widget. Now it works fine.
I just wanted to share my work around for anyone who is also having problems with the slider producing errors when features are added. Thanks for the CBOX theme by the way, I really love the work that was put into it. Great work to all the developers and designers involved!
Hi Thomas @tomkay94 –
Were the errors you saw just warning messages? You might need to adjust your log settings.
Hey Scott, yes they were a series of PHP errors that blocked the front of the picture. I don’t understand why they were there since the picture loaded fine behind the error messages. How would I go about adjusting the log settings? What do you believe the problem is Scott? Thanks for the reply.
It may be that your hosting provider has PHP error reporting turned up too high. These kinds of minor warnings are not harmful to your site, and they should not be appearing on the front end.
You may consider contacting your host to ask about a lower error level, but in the meantime you should be able to hide the warning messages by opening your wp-config.php file in your FTP client, and adding the following lines just above “/* That’s all, stop editing! Happy blogging */”:
ini_set( ‘display_errors’, ‘Off’ );
ini_set( ‘error_reporting’, E_NONE );
Hope this helps.