[SOLVED] Gallery module tabs not working
[SOLVED] Gallery module tabs not working
I installed the Gallery module. Things seem to work but I still have to find out some things yet.
Can someone give me a clue how it comes my tabs are not working?
See attached picture for what I see when I go to "content - galllery"
The tabs doensn't seem to work
Thanks for your info in advance,
Louis
More system info:
----------------------------------------------
Cms Version: 1.6.6
Installed Modules:
* CMSMailer: 1.73.14
* FileManager: 1.0.1
* MenuManager: 1.6.2
* ModuleManager: 1.3.1
* News: 2.10.3
* nuSOAP: 1.0.1
* Printing: 1.0.4
* Search: 1.6.1
* ThemeManager: 1.1.1
* TinyMCE: 2.5.5
* FCKeditorX: 1.1.0
* RSS2HTML: 1.2.3
* Guestbook: 1.1.12
* Captcha: 0.4
* Album: 0.9.3
* Gallery: 1.1.2
Config Information:
* php_memory_limit: 32M
* process_whole_template: true
* max_upload_size: 20000000
* default_upload_permission: 664
* assume_mod_rewrite: false
* page_extension:
* internal_pretty_urls: false
* use_hierarchy: false
Php Information:
* phpversion: 4.3.11
* md5_function: Aan (Waar)
* gd_version: 2
* tempnam_function: Aan (Waar)
* magic_quotes_runtime: Uit (Nee)
* memory_limit: 32M
* max_execution_time: 600
* safe_mode: Uit (Nee)
* session_save_path: Geen controle omdat 'open_basedir' actief is
* session.use_cookies: Aan (Waar)
Server Information:
* Server Api: apache2handler
* Server Db Type: MySQL (mysql)
* Server Db Version: 3.23.58
----------------------------------------------
Can someone give me a clue how it comes my tabs are not working?
See attached picture for what I see when I go to "content - galllery"
The tabs doensn't seem to work
Thanks for your info in advance,
Louis
More system info:
----------------------------------------------
Cms Version: 1.6.6
Installed Modules:
* CMSMailer: 1.73.14
* FileManager: 1.0.1
* MenuManager: 1.6.2
* ModuleManager: 1.3.1
* News: 2.10.3
* nuSOAP: 1.0.1
* Printing: 1.0.4
* Search: 1.6.1
* ThemeManager: 1.1.1
* TinyMCE: 2.5.5
* FCKeditorX: 1.1.0
* RSS2HTML: 1.2.3
* Guestbook: 1.1.12
* Captcha: 0.4
* Album: 0.9.3
* Gallery: 1.1.2
Config Information:
* php_memory_limit: 32M
* process_whole_template: true
* max_upload_size: 20000000
* default_upload_permission: 664
* assume_mod_rewrite: false
* page_extension:
* internal_pretty_urls: false
* use_hierarchy: false
Php Information:
* phpversion: 4.3.11
* md5_function: Aan (Waar)
* gd_version: 2
* tempnam_function: Aan (Waar)
* magic_quotes_runtime: Uit (Nee)
* memory_limit: 32M
* max_execution_time: 600
* safe_mode: Uit (Nee)
* session_save_path: Geen controle omdat 'open_basedir' actief is
* session.use_cookies: Aan (Waar)
Server Information:
* Server Api: apache2handler
* Server Db Type: MySQL (mysql)
* Server Db Version: 3.23.58
----------------------------------------------
Last edited by Pyro_loe on Wed Feb 17, 2010 5:23 pm, edited 1 time in total.
Re: Gallery module tabs not working
Maybe this is because you use the old admin theme?
Please turn debug to true in the config.php and see if there are any error-messages. Also look at the html sourcecode for errors
Please turn debug to true in the config.php and see if there are any error-messages. Also look at the html sourcecode for errors
Last edited by Jos on Sun Feb 14, 2010 2:33 pm, edited 1 time in total.
Re: Gallery module tabs not working
Nice that new admin them
but that didn't do the trick tho 
I've copied the debug-info below (abracadabra to me)
Louis
Debug: (9.000000000009E-06) - (751544)
loading smarty
Debug: (0.003) - (997912)
loading adodb
Debug: (0.0042) - (1077112)
loading page functions
Debug: (0.006371) - (1262560)
loading content functions
Debug: (0.008308) - (1444344)
loading pageinfo functions
Debug: (0.008811) - (1475712)
loading translation functions
Debug: (0.009167) - (1493520)
loading events functions
Debug: (0.010157) - (1574744)
loading php4 entity decode functions
Debug: (0.011492) - (1729808)
done loading files
Debug: (0.019427) - (2311264)
(mysql): SELECT sitepref_name, sitepref_value from cms_siteprefs
Error (0):
Debug: (0.022974) - (2401848)
(mysql): SELECT * FROM cms_userplugins
Error (0):
Debug: (0,056384) - (2931904)
(mysql): SELECT * FROM cms_modules WHERE active = 1 ORDER by module_name
Error (0):
Debug display of 'End of include':(0,08796) - (5534912)
Debug: (0,088054) - (5494768)
Session found. Moving on...
Debug: (0,088106) - (5494928)
Session found. Moving on...
Debug: (0,089391) - (5562672)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0,090268) - (5564256)
(mysql): SELECT DISTINCT permission_name FROM cms_user_groups ug INNER JOIN cms_group_perms gp ON gp.group_id = ug.group_id INNER JOIN cms_permissions p ON p.permission_id = gp.permission_id INNER JOIN cms_groups gr ON gr.group_id = ug.group_id WHERE ug.user_id = '1' AND gr.active = 1
Error (0):
Debug: (0,094688) - (5986752)
Session found. Moving on...
Debug: (0,095042) - (5989048)
(mysql): SELECT preference, value FROM cms_userprefs WHERE user_id = '1'
Error (0):
Debug: (0,095257) - (5990072)
Session found. Moving on...
Debug: (0,123864) - (6393552)
(mysql): SELECT htmlblob_id FROM cms_additional_htmlblob_users WHERE user_id = '1'
Error (0):
Debug: (0,124135) - (6394760)
(mysql): SELECT group_id FROM cms_user_groups WHERE user_id = '1'
Error (0):
Debug: (0,124337) - (6395112)
(mysql): SELECT htmlblob_id FROM cms_additional_htmlblob_users WHERE user_id IN (-1)
Error (0):
Debug: (0,124749) - (6395520)
(mysql): SELECT content_id FROM cms_content WHERE owner_id = '1'
Error (0):
Debug: (0,125177) - (6396344)
(mysql): SELECT user_id,content_id FROM cms_additional_users
Error (0):
Debug: (0,145954) - (6488640)
(mysql): SELECT count(news_id) FROM cms_module_news n
WHERE status != 'published'
AND (( IFNULL(end_time, '1970-01-01 01:00:01') = '1970-01-01 01:00:01') OR (end_time > '2010-02-14 16:25:31'))
Error (0):
Debug: (0,14639) - (6488440)
(mysql): SELECT version from cms_version
Error (0):
Debug: (0,147447) - (6517824)
(mysql): SELECT bookmark_id, user_id, title, url FROM cms_admin_bookmarks WHERE user_id = '1' ORDER BY title
Error (0):
Debug: (0,175181) - (6799080)
(mysql): SELECT * FROM cms_modules WHERE active=1
Error (0):
Debug: (0,655354) - (7583800)
(mysql): SELECT eh.tag_name, eh.module_name, e.originator, e.event_name, eh.handler_order, eh.handler_id, eh.removable FROM cms_event_handlers eh
INNER JOIN cms_events e ON e.event_id = eh.event_id
ORDER BY eh.handler_order ASC
Error (0):


I've copied the debug-info below (abracadabra to me)
Louis
Debug: (9.000000000009E-06) - (751544)
loading smarty
Debug: (0.003) - (997912)
loading adodb
Debug: (0.0042) - (1077112)
loading page functions
Debug: (0.006371) - (1262560)
loading content functions
Debug: (0.008308) - (1444344)
loading pageinfo functions
Debug: (0.008811) - (1475712)
loading translation functions
Debug: (0.009167) - (1493520)
loading events functions
Debug: (0.010157) - (1574744)
loading php4 entity decode functions
Debug: (0.011492) - (1729808)
done loading files
Debug: (0.019427) - (2311264)
(mysql): SELECT sitepref_name, sitepref_value from cms_siteprefs
Error (0):
Debug: (0.022974) - (2401848)
(mysql): SELECT * FROM cms_userplugins
Error (0):
Debug: (0,056384) - (2931904)
(mysql): SELECT * FROM cms_modules WHERE active = 1 ORDER by module_name
Error (0):
Debug display of 'End of include':(0,08796) - (5534912)
Debug: (0,088054) - (5494768)
Session found. Moving on...
Debug: (0,088106) - (5494928)
Session found. Moving on...
Debug: (0,089391) - (5562672)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0,090268) - (5564256)
(mysql): SELECT DISTINCT permission_name FROM cms_user_groups ug INNER JOIN cms_group_perms gp ON gp.group_id = ug.group_id INNER JOIN cms_permissions p ON p.permission_id = gp.permission_id INNER JOIN cms_groups gr ON gr.group_id = ug.group_id WHERE ug.user_id = '1' AND gr.active = 1
Error (0):
Debug: (0,094688) - (5986752)
Session found. Moving on...
Debug: (0,095042) - (5989048)
(mysql): SELECT preference, value FROM cms_userprefs WHERE user_id = '1'
Error (0):
Debug: (0,095257) - (5990072)
Session found. Moving on...
Debug: (0,123864) - (6393552)
(mysql): SELECT htmlblob_id FROM cms_additional_htmlblob_users WHERE user_id = '1'
Error (0):
Debug: (0,124135) - (6394760)
(mysql): SELECT group_id FROM cms_user_groups WHERE user_id = '1'
Error (0):
Debug: (0,124337) - (6395112)
(mysql): SELECT htmlblob_id FROM cms_additional_htmlblob_users WHERE user_id IN (-1)
Error (0):
Debug: (0,124749) - (6395520)
(mysql): SELECT content_id FROM cms_content WHERE owner_id = '1'
Error (0):
Debug: (0,125177) - (6396344)
(mysql): SELECT user_id,content_id FROM cms_additional_users
Error (0):
Debug: (0,145954) - (6488640)
(mysql): SELECT count(news_id) FROM cms_module_news n
WHERE status != 'published'
AND (( IFNULL(end_time, '1970-01-01 01:00:01') = '1970-01-01 01:00:01') OR (end_time > '2010-02-14 16:25:31'))
Error (0):
Debug: (0,14639) - (6488440)
(mysql): SELECT version from cms_version
Error (0):
Debug: (0,147447) - (6517824)
(mysql): SELECT bookmark_id, user_id, title, url FROM cms_admin_bookmarks WHERE user_id = '1' ORDER BY title
Error (0):
Debug: (0,175181) - (6799080)
(mysql): SELECT * FROM cms_modules WHERE active=1
Error (0):
Debug: (0,655354) - (7583800)
(mysql): SELECT eh.tag_name, eh.module_name, e.originator, e.event_name, eh.handler_order, eh.handler_id, eh.removable FROM cms_event_handlers eh
INNER JOIN cms_events e ON e.event_id = eh.event_id
ORDER BY eh.handler_order ASC
Error (0):
Re: Gallery module tabs not working
Pyro_loe,
You better remove the attached picture in your first post, you are giving away your admin login name and the url of the website!
Grtz. Rolf :)
You better remove the attached picture in your first post, you are giving away your admin login name and the url of the website!
Grtz. Rolf :)
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Gallery module tabs not working
Error (0) means there is no error
Could you also look at the html-sourcecode if there is an error perhaps?

Could you also look at the html-sourcecode if there is an error perhaps?
Re: Gallery module tabs not working
Please explain: where to find the html-code (sorry if it's a dumb question)
Re: Gallery module tabs not working
Making progress... sorted out how to remove the "thanks for installing" phrase, that come up when I placed the {gallery} tag in my page. (edited the nl_NL.php file, deinstalled and reinstalled the module)Pyro_loe wrote: I installed the Gallery module. Things seem to work but I still have to find out some things yet.
Tabs keeps me curious.
@Rolf - thanks for the warning
LOuis
Re: Gallery module tabs not working
Look at menu "beeld" in your browser, and choose "bron" (IE) or "paginabron" (FF)Pyro_loe wrote: Please explain: where to find the html-code (sorry if it's a dumb question)
An easier way would be to clear the gallery commentfieldPyro_loe wrote: Making progress... sorted out how to remove the "thanks for installing" phrase, that come up when I placed the {gallery} tag in my page. (edited the nl_NL.php file, deinstalled and reinstalled the module)

Re: Gallery module tabs not working

Found an error in the html-source.
The last line ends with:
ERROR: You have an error in your SQL syntax near '(IF(g1.filepath='','','/') AS BINARY),g1.filename) ASC' at line 13
How bad is that

thanks so far..
Louis
Re: Gallery module tabs not working
It could well be that your mySQL version is way to old ??? ... Your old php version also won't let you use any of Calguy's modules
edit:
I sent you a PM with a possible workaround
edit:
I sent you a PM with a possible workaround
Last edited by Jos on Sun Feb 14, 2010 7:27 pm, edited 1 time in total.
Re: [SOLVED] Gallery module tabs not working
thanks, it worked, so problem solved for me
solution:
edited the Gallery.module.php
find:
replaced with:
with 1000 thanks to Jos, of course
solution:
edited the Gallery.module.php
find:
Code: Select all
CONCAT(g1.filepath,CAST(IF(g1.filepath='','','/') AS BINARY),g1.filename) ASC";
Code: Select all
CONCAT(g1.filepath,IF(g1.filepath='','','/'),g1.filename) ASC";