I have a NEW (not an upgrade) drupal install:
Drupal 4.6.5, 2005-12-12) mysql 4.0.24 php 4.3.11
it seems to be mostly working didn't try everything yet) except of Few administration tasks in Administer section. 'Modules' and 'Theme' pages show me the list of modules/themes, some are required, the rest are disabled. If I check any module/theme's 'Enabled' checkbox and hit the 'Save configuration' button I get the following error (example for one module, if I check more than one the same stuff is repeated):
warning: sprintf(): Too few arguments in ./includes/database.inc on line 164.
user error: Query was empty query: in ./includes/database.mysql.inc on line 66.
warning: Cannot modify header information - headers already sent by (output started at ./includes/common.inc:384) in ./includes/common.inc on line 192.
other db errors when trying to enable blocks:
warning: mysql_real_escape_string() expects parameter 1 to be string, array given in ./includes/database.mysql.inc on line 239.
any ideas what's going on? It looks like there's something wrong with the database (I just installed it, it was not an upgrade).
TIA
erik
Im getting javascript errors in my theme if turn on "Clean URL's". The error seems to be with my phplayersmenu implementation in the theme. the strange thing is that the menu (tree menu on right side) functions without errors on all pages if "Clean URL's" is disabled. Ive tried to uncover why this is happening but the answer is not obvious to me at least... Has anyone else run into this problem, or know how I can fix this and have a working drupal installation with the MINIML Theme that uses "Clean URL's"...
here are two examples of the same drupal installation with the same theme(miniml) selected... both are subdomains: This one has "Clean URL's" turned on.(with javascript errors on subpages) http://live.drupalsolutions.net/ (login/guest pass/guest to view menu)
This one has "Clean URL's" turned off.(no javascript errors) http://blog.mixdv.com/
any clues?
Hi,
Which version of phplayermenu are you using, and how are you putting it into your theme?
Gordon.
On Sat, 2005-12-31 at 19:45 -0800, Isaac Horton wrote:
Im getting javascript errors in my theme if turn on "Clean URL's". The error seems to be with my phplayersmenu implementation in the theme. the strange thing is that the menu (tree menu on right side) functions without errors on all pages if "Clean URL's" is disabled. Ive tried to uncover why this is happening but the answer is not obvious to me at least... Has anyone else run into this problem, or know how I can fix this and have a working drupal installation with the MINIML Theme that uses "Clean URL's"...
here are two examples of the same drupal installation with the same theme(miniml) selected... both are subdomains: This one has "Clean URL's" turned on.(with javascript errors on subpages) http://live.drupalsolutions.net/ (login/guest pass/guest to view menu)
This one has "Clean URL's" turned off.(no javascript errors) http://blog.mixdv.com/
any clues?
Hi Gordon, Im using PHPLayersMenu 3.2.0 drupal version is 4.7.0 beta 2 ive attached the template.php which i got from YOU (thank you!), page.tpl.php and miniml.js which im pretty sure are the only files referenced beyond the phplayersmenu files. I got it working great in 4.6 and I still use a version of your old module on another site without error. Im really happy with this new version other than this issue. Thank you again.
-Isaac
Gordon Heydon wrote:
Hi,
Which version of phplayermenu are you using, and how are you putting it into your theme?
Gordon.
On Sat, 2005-12-31 at 19:45 -0800, Isaac Horton wrote:
Im getting javascript errors in my theme if turn on "Clean URL's". The error seems to be with my phplayersmenu implementation in the theme. the strange thing is that the menu (tree menu on right side) functions without errors on all pages if "Clean URL's" is disabled. Ive tried to uncover why this is happening but the answer is not obvious to me at least... Has anyone else run into this problem, or know how I can fix this and have a working drupal installation with the MINIML Theme that uses "Clean URL's"...
here are two examples of the same drupal installation with the same theme(miniml) selected... both are subdomains: This one has "Clean URL's" turned on.(with javascript errors on subpages) http://live.drupalsolutions.net/ (login/guest pass/guest to view menu)
This one has "Clean URL's" turned off.(no javascript errors) http://blog.mixdv.com/
any clues?
any ideas what might cause this problem? or how to troubleshoot? TIA
erik
Erik Steffl wrote:
I have a NEW (not an upgrade) drupal install:
Drupal 4.6.5, 2005-12-12) mysql 4.0.24 php 4.3.11it seems to be mostly working didn't try everything yet) except of Few administration tasks in Administer section. 'Modules' and 'Theme' pages show me the list of modules/themes, some are required, the rest are disabled. If I check any module/theme's 'Enabled' checkbox and hit the 'Save configuration' button I get the following error (example for one module, if I check more than one the same stuff is repeated):
warning: sprintf(): Too few arguments in ./includes/database.inc on line 164.
user error: Query was empty query: in ./includes/database.mysql.inc on line 66.
warning: Cannot modify header information - headers already sent by (output started at ./includes/common.inc:384) in ./includes/common.inc on line 192.
other db errors when trying to enable blocks:
warning: mysql_real_escape_string() expects parameter 1 to be string, array given in ./includes/database.mysql.inc on line 239.
any ideas what's going on? It looks like there's something wrong with the database (I just installed it, it was not an upgrade).
TIA
erik
I'm not entirely sure why you are getting your errors. It may be a corrupt file or a corrupt table in your database. I would just try doing another new install to a different directory and database, possibly even redownloading the source, just to make sure everything is clean, and see if that works.
On Thursday 05 January 2006 16:30, Erik Steffl wrote:
any ideas what might cause this problem? or how to troubleshoot? TIA
erik
that's what I tried, except of re-downloading the source and I still get the same errors:
warning: sprintf(): Too few arguments in ./includes/database.inc on line 164.
user error: Query was empty query: in ./includes/database.mysql.inc on line 66.
warning: Cannot modify header information - headers already sent by (output started at ./includes/common.inc:384) in ./includes/common.inc on line 192.
it seems like there is something wrong with my environment but I can't figure out what. Any ideas how to troubleshoot this? Or what might be the culprint?
erik
Jason Flatt wrote:
I'm not entirely sure why you are getting your errors. It may be a corrupt file or a corrupt table in your database. I would just try doing another new install to a different directory and database, possibly even redownloading the source, just to make sure everything is clean, and see if that works.
On Thursday 05 January 2006 16:30, Erik Steffl wrote:
any ideas what might cause this problem? or how to troubleshoot? TIA
erik