x_treme theme conflict error?

triangular

Joined: 2005-12-21
Posts: 138
Posted: Sun, 2007-08-12 05:39

I run Drupal 5.x with G2 2.2, and use the Drupal G2 module to embed G2. I'm using x_treme theme. When I open a G2 page, I have this repeated error at the top of the page in a box:

* warning: Invalid argument supplied for foreach() in /home/.olwen/myadvent/gallery.myadventurouslife.com/modules/core/Callbacks.inc on line 69.
* warning: Invalid argument supplied for foreach() in /home/.olwen/myadvent/gallery.myadventurouslife.com/modules/core/Callbacks.inc on line 69.

My G2 Callbakcs.inc line 69 has this:
foreach ($theme['params'][$key . 'Blocks'] as $entry) {

From other things I've read, I suspect this is an issue between the 2 themes or CSS?

Anybody can help with this error?

Christian

Gallery version = 2.2-rc-2 core 1.1.30
PHP version = 4.4.7 cgi
Webserver = Apache/1.3.37 (Unix) mod_throttle/3.1.2 DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a PHP/4.4.7 mod_ssl/2.8.22 OpenSSL/0.9.7e
Database = mysqlt 4.1.16-standard-log, lock.system=database
Toolkits = Exif, Gd, ImageMagick, NetPBM, Getid3, ArchiveUpload, LinkItemToolkit, SquareThumb, Ffmpeg
Acceleration = partial/900, none/900
Operating system = Linux rampart 2.4.32-grsec+f6b+gr217+nfs+a32+fuse23+tg+++opt+c8+gr2b-v6.194 #1 SMP Tue Jun 6 15:52:09 PDT 2006 i686
Default theme = MyX_treme
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
Rows in GalleryAccessMap table = 250
Rows in GalleryAccessSubscriberMap table = 863
Rows in GalleryUser table = 76
Rows in GalleryItem table = 853
Rows in GalleryAlbumItem table = 65
Rows in GalleryCacheMap table = 3970

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2007-08-12 15:17

Moved to Dupal forums.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
profix898

Joined: 2005-11-08
Posts: 135
Posted: Mon, 2007-08-13 09:01

Do these errors appear in standalone mode also? This is no CSS issue or a conflict between Drupal/G2 theme, I think. This is more likely an issue with your G2 x_treme theme in general than related to the Drupal integration.

 
triangular

Joined: 2005-12-21
Posts: 138
Posted: Mon, 2007-08-13 14:04

No. I never have any issue like this in standalone. I love my standalone installation in fact, and would like to keep it without modifying too much for Drupal.

 
profix898

Joined: 2005-11-08
Posts: 135
Posted: Tue, 2007-08-14 15:10

Ok. I just installed x-treme theme (1.0.3) on my development box with gallery module 5.x-2.x-dev and everything works as expected. No error messages. What means there must be something special about your configuration. Not sure how I can help you ... Sorry!

 
triangular

Joined: 2005-12-21
Posts: 138
Posted: Tue, 2007-08-14 16:23

Its not special for my case. if you do a search on this, there are several postings both here on G2 and also on Drupal that reference this same problem. Now it seems as though its only happening with x_treme. Im not sure what ver. I'm using...maybe 1.03 is not the same as mine...but its an issue with blocks appearing on the page somewhere (from other posts Ive read, and also from the references in the callbacks line 69). However...make sure youre doing the same thing I am to get the error. I don't have it on ALL my pages, but several. I do have a link to gallery in my drupal menu, and its when I click on that and get the G2 FRONT page that I see the error at the top. So make sure thats the page youre loading (drupal domain dir/gallery). Also...Im not using the development module but the official release. Hmm...I wonder if I should try the development module if thats not giving you any errors.

 
triangular

Joined: 2005-12-21
Posts: 138
Posted: Tue, 2007-08-14 16:26

Its not special for my case. if you do a search on this, there are several postings both here on G2 and also on Drupal that reference this same problem. Now it seems as though its only happening with x_treme. Im not sure what ver. I'm using...maybe 1.03 is not the same as mine...but its an issue with blocks appearing on the page somewhere (from other posts Ive read, and also from the references in the callbacks line 69). However...make sure youre doing the same thing I am to get the error. I don't have it on ALL my pages, but several. I do have a link to gallery in my drupal menu, and its when I click on that and get the G2 FRONT page that I see the error at the top. So make sure thats the page youre loading (drupal domain dir/gallery). Also...Im not using the development module but the official release. Hmm...I wonder if I should try the development module if thats not giving you any errors.

 
triangular

Joined: 2005-12-21
Posts: 138
Posted: Tue, 2007-08-14 16:40

sorry for duplicates. timeout issues.