WordPress 2.6 + WPG2 3.0.7 = empty page

jholcomb
jholcomb's picture

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,
James

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Tue, 2008-07-22 03:56

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

 
jholcomb
jholcomb's picture

Joined: 2005-05-18
Posts: 10
Posted: Tue, 2008-07-22 13:52

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?

 
jholcomb
jholcomb's picture

Joined: 2005-05-18
Posts: 10
Posted: Tue, 2008-07-22 18:40

Removing wpg2header.php from the K2 theme directory seems to have fixed this.

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Tue, 2008-07-22 22:29

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