WordPress 2.6 + WPG2 3.0.7 = empty page
jholcomb
Joined: 2005-05-18
Posts: 10 |
Posted: Tue, 2008-07-22 03:23 |
Install validates, getting an empty page at http://www.jamesholcomb.info/wpg2 I tried placing a .htaccess file with phpvalue memorylimit 16M in it the wordpress directory (the file didn't exist beforehand) but now I get server errors. Any ideas? Was working fine on WP 2.5 and an older version of WPG2 (3.0.2 I think). I thought upgrading to 3.0.7 might fix it. Thanks, |
|
Posts: 1378
Unfortunately this is not a WPG2 fault but a limit of your Hosting Provider. The Gallery2 FAQ also provides some additional information regarding the memory limit which may help you..
FAQ: PHP memory_limit - Why do I get the error Allowed memory size of Xxx bytes exhausted?
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 10
Thanks for the quick reply...
I was able to modify PHP.INI directly using the PowWeb edit page and set the memory limit there (now to 24M).
Here is the only error I get in my CGI log when accessing http://www.jamesholcomb.info/wpg2
PHP Fatal error: Call to undefined function: k2_body_id() in /hermes/web09/b2094/pow.jholcomb/htdocs/wordpress/wp-content/themes/k2/wpg2header.php on line 62
I am not receiving any memory exhausted errors. Could this be a K2 theme error?
Posts: 10
Removing wpg2header.php from the K2 theme directory seems to have fixed this.
Posts: 1378
Can you post the wpg2header.php file? It looks like it is referencing a function (k2_body_id()) that does not exist.. You may find your site WPG2 page maybe out of alignment due to the missing wpg2header.php
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo