Getting Errors on Drupal 6.1 Fresh Install

roadspill - March 2, 2008 - 08:11
Project:Super Nav
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

Originally I recieved errors saying that the databases were not there.

In my drupal installation it has drupal_****** as my database tag.

and I think your module is freaking out because of that.

I LOVE the module but It is pissing me off seeing the error on every single page.

Please lemme know what you can do.

***ERROR***

* user warning: Table 'roadspill_vevtest.supernav_history' doesn't exist query: INSERT INTO supernav_history SET url = "http://vevtest.roadspill.com/admin/build/modules", title="Modules | VeV-KJ", uid="1" in /home/roadspill/domains/roadspill.com/public_html/vevtest/sites/all/modules/supernav/supernav.module on line 289.
* user warning: Table 'roadspill_vevtest.supernav_history' doesn't exist query: SELECT supernav_history_id FROM supernav_history WHERE uid="1" ORDER BY supernav_history_id DESC LIMIT 7, 1 in /home/roadspill/domains/roadspill.com/public_html/vevtest/sites/all/modules/supernav/supernav.module on line 291.

#1

chrisshattuck - March 2, 2008 - 14:54

Hi Roadspill,

Ah, yes, sorry about that. I have uploaded an updated version that works with prefixes, you can download the latest from CVS or when the next tarball is made (in 1-12 hours). Thanks for testing it out!

Chris

#2

chrisshattuck - March 9, 2008 - 21:06
Status:active» postponed (maintainer needs more info)

#3

Jacine - March 10, 2008 - 15:49
Category:support request» bug report

Hello,

I think I'm having a similar issue, but wasn't sure whether or not to open another ticket since the title explains my problem. I don't have a prefix on my DB, and I'm using a fresh install of D6 & today's SuperNav tarball. A hard refresh made the menu appear, but it seems incomplete and there are errors on every page as mentioned above (undefined index & variables).

See the attached screenshot. Note: I'm running this locally via MAMP.

Aside from the errors, this is a very cool idea. Thanks for sharing :)

AttachmentSize
Picture 1.png 251.77 KB

#4

chrisshattuck - March 31, 2008 - 21:44
Status:postponed (maintainer needs more info)» fixed

Hi Jacine,

The errors you're seeing there are notice errors, which means your error settings must be set fairly high. You can supress these by changing the the error_reporting settings in php.ini, or locally by using something like this:

error_reporting(E_ALL & ~E_NOTICE);

I'm not sure where the best place to put this would be, but sticking it in a module or settings.php should do the trick.

Chris

#5

Anonymous (not verified) - April 14, 2008 - 21:52
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.