Warning messages at top of page
-
I just moved my site from one host to another and the slide show works fine, but I don’t know why the “warning” message is there? Can someone suggest how to remove it?
Thanks JeffWarning: Division by zero in /home3/ournewpr/public_html/whereisbuddylee/wp-content/plugins/wp-photo-album-plus/wppa_functions.php on line 1173
Warning: Division by zero in /home3/ournewpr/public_html/whereisbuddylee/wp-content/plugins/wp-photo-album-plus/wppa_functions.php on line 1173
-
Check the hosts php config, it is most likely that the proper GD library is not loaded. You can see that in the Photo Albums -> Settings page, Table X php config chapter GD.
Sorry to not understand. Can you be more specific?
Does this mean that in the transfer the GD library did not make it over into the right files?
What is the “GD library”? How do I actually find this info and where do I put it?Thanks very much, Jeff.
This is under table x php config.
Do I look in my old host’s files, then move it to new host?gd
GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.2.1
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabledAsk your server administrator or see the php manual how to compile php to include the GD options. The list of gd oprions avove is indeed what i ment.
Is it easier to save my image files, then delete the plugin and reinstall?
Hello,
I have 2 wordpress installations on the same hosting account.
I am using your plugin on both of them.
One works fine (no error message)
The other has error.
http://www.wihlacoocheegulfpreserve.com (no error message)
http://www.whereisbuddylee.co (has error)Do you have any other suggestions on correcting this?
Both links do not work at the moment, but you never have to save your imagefiles when you de-install and re-install the plugin. As with updating, removing the plugin will never destroy your album and photo information and data. So it is always safe to delete and reinstall the plugin.
The division by zero error originates most likely from the fact that the php internal routine getimagesize() does not exist, that is why i suggested you to check the php config.
If you want more errormessages to determine the problem, open the page with the problem in your browser, add &debug (or ?debug if there are no arguments like ?page= ) and press the goto button or the enter key.
Sorry about the links! They are both missing letters.
Here they are:http://whereisbuddylee.com/friend-gallery/
http://withlacoocheegulfpreserve.com/photo-albumPlease enable allow debugging (Table IX item 5) of the Photo Albums -> Settings page on both sites. Then the ?debug will work, see…?
Allow WPPA+ Debugging Allow the use of &debug=.. in urls to this site.
I just checked box,saved changes, reloaded site and warning is still
there.Just realized that you wanted me to check for errors.
This is what I get:Notice: Use of undefined constant hmt_activate_custom_header – assumed ‘hmt_activate_custom_header’ in /home3/ournewpr/public_html/whereisbuddylee/wp-content/themes/hmtpro4/header.php on line 594
Notice: Use of undefined constant hmt_preset_mode_activated – assumed ‘hmt_preset_mode_activated’ in /home3/ournewpr/public_html/whereisbuddylee/wp-content/themes/hmtpro4/header.php on line 686
Notice: Use of undefined constant hmt_header_lock – assumed ‘hmt_header_lock’ in /home3/ournewpr/public_html/whereisbuddylee/wp-content/themes/hmtpro4/header.php on line 706
Notice: Use of undefined constant hmt_display_header_lock_bar – assumed ‘hmt_display_header_lock_bar’ in /home3/ournewpr/public_html/whereisbuddylee/wp-content/themes/hmtpro4/header.php on line 714
Notice: Use of undefined constant hmt_display_header_lock_bar – assumed ‘hmt_display_header_lock_bar’ in /home3/ournewpr/public_html/whereisbuddylee/wp-content/themes/hmtpro4/header.php on line 826
Notice: Use of undefined constant hmt_display_sub_header_lock_bar – assumed ‘hmt_display_sub_header_lock_bar’ in /home3/ournewpr/public_html/whereisbuddylee/wp-content/themes/hmtpro4/header.php on line 912
Notice: Use of undefined constant hmt_hide_header – assumed ‘hmt_hide_header’ in /home3/ournewpr/public_html/whereisbuddylee/wp-content/themes/hmtpro4/header.php on line 1126
Notice: Use of undefined constant hmt_activate_custom_header – assumed ‘hmt_activate_custom_header’ in /home3/ournewpr/public_html/whereisbuddylee/wp-content/themes/hmtpro4/header.php on line 1128
>
Notice: Use of undefined constant hmt_logo_url – assumed ‘hmt_logo_url’ in /home3/ournewpr/public_html/whereisbuddylee/wp-content/themes/hmtpro4/header.php on line 1147Notice: Use of undefined constant hmt_show_title_and_tagline – assumed ‘hmt_show_title_and_tagline’ in /home3/ournewpr/public_html/whereisbuddylee/wp-content/themes/hmtpro4/header.php on line 1173
Notice: Use of undefined constant hmt_h1_setting – assumed ‘hmt_h1_setting’ in /home3/ournewpr/public_html/whereisbuddylee/wp-content/themes/hmtpro4/header.php on line 1181
Bluehost suggested in settings I should change the pixel size of thumbnail and cover picture, then save changes. And it worked!
No warning message:
http://whereisbuddylee.com/friend-gallery/One of you thumbnail image files was corrupted (#22: magnet buddy fighting_500x333.jpg ).
You need not to change the size, you can rebuild the thumbnails by checking Table VIII item 7 in the Settings panel and click Save Changes and follow the instructions.
I will supply a better errormessage in these cases in the next version.
Thanx for your input.
BTW: the errormessages in debug mode tell you that there is a lot of bad programming in your theme…
Thanks for your input. Should I change or eliminate the #22 image?
I like the Heatmap Theme a lot. What is the potential effect of the “bad programming” you mention above. This should be helpful information to the program developer?
On a slightly different subject: Do you have a favorite video plugin for wordpress?
- The topic ‘Warning messages at top of page’ is closed to new replies.