sharesite
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Theme not compatible with PHP 5.4Hi webmeister. Forgot to add this bit.
If you are only hosting one site the files you need will be under /public_html/.In this folder is a file called ‘error_log’.
If you still have problems after changing to PHP 5.4, use the CPanel File Manager again and click this file (to highlight it).
Click The View option in the menu bar. The file should open in a new window. Scroll all the way to the bottom and there will be an error message to tell you why the site is failing to display.Good luck.
Forum: Themes and Templates
In reply to: Theme not compatible with PHP 5.4THIS IS NOT A PLUGIN OR MYSQL PASSWORD PROBLEM.
Hi. Not shouting but I wanted your attention. I have had the same problem, same theme. Have wasted hours deactivating plugins etc. Not the problem.
The theme uses a slider function. The PHP file driving the slider has a problem. You need to change the code in the PHP file as follows.
Use your Bluehost CPanel and go to File Manager.
Click your way to – (XXXXX) is your web site name./public_html/XXXXX/wp-content/themes/Paradise/functions/custom_types/sliders.php
You need to highlight the file name, click it once.
Ideally you should make a backup copy of the file first.
Click the Code Editor option in the menu bar.
Click the Edit button in the popup.
Scroll down to about line 100. Around there you see this code-function theme_slider_render() {
Scroll down slowly (about 20 lines) until you see this code –
function theme_slider_options() {
about three lines above that you will see
$_theme_sliders[get_option(‘slider_type’)]->render(&$loop);you need to delete the “&” character in “(&$loop)”.
the line will now look like this –$_theme_sliders[get_option(‘slider_type’)]->render($loop);
Now… top right corner of window – Click ‘Save Changes’ button.
Now click ‘Close’ button.Now go to your web site Home page. Refresh it. Hopefully it displays okay.
Go back to the CPanel and the PHP config page and click your PHP 5.4 option.
Refresh your Home page again.
Good luck.