The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. November 21, 2008, 03:30:24 PM

Login with username, password and session length


Pages: 1 [2]
  Print  
Author Topic: Error when attempting first access  (Read 971 times)
dink
Expert
****
Offline Offline

Posts: 319


View Profile
« Reply #15 on: May 28, 2008, 09:18:51 AM »

Quote
Actually tool tips came in in the last version... run your mouse over and hold for a moment... that ought to do it

Nope.  No joy.

Ran the createtables sql.  Nb's is right.  MySql griped then puked on the 'dot' whatever.  Removed the phpmide and the dot and the sql ran as required.

Looks like it's good to go.

Logged

[quote Nutballs]
the universe has a giant fist, and its got enough whoop ass for everyone.
[/quote]
dink
Expert
****
Offline Offline

Posts: 319


View Profile
« Reply #16 on: May 28, 2008, 09:21:14 AM »

about the SQL script. perk, just drop the database name from the table creates. MySQL will automatically use the selected database in most cases. Or add a USE at the top so folks only have to change it in 1 place if they use a different database name.

Yep.  If you instruct folks to use the phpmyadmin pane to run the sql on the new db, all will be golden without the db name being in the sql.

Logged

[quote Nutballs]
the universe has a giant fist, and its got enough whoop ass for everyone.
[/quote]
dink
Expert
****
Offline Offline

Posts: 319


View Profile
« Reply #17 on: May 28, 2008, 09:29:31 AM »

...
So now: how do we get you going forward and actually making use of the thingy?
...

I'm thinking that the first thing I'll work on is my datafeed inport script.  The script itself is old, badly in need of updating, so a perfect candidate for a rework using SP's.

I suppose I should start a new thread for that project.

Wait....now that I have the db and tables for the triggers etc, what's that all about?
Logged

[quote Nutballs]
the universe has a giant fist, and its got enough whoop ass for everyone.
[/quote]
perkiset
Olde World Hacker
Administrator
Lifer
*****
Online Online

Posts: 5142


:sniffle: Humor was so much easier before.


View Profile
« Reply #18 on: May 28, 2008, 10:27:46 AM »

Nope.  No joy.

Browser please... or let me know which icons are not working. Please open a procedure, then run your mouse over and hold on the Save As icon (disk with a +)

thanks!
Logged

If I can't be Mr. Root then I don't want to play.
perkiset
Olde World Hacker
Administrator
Lifer
*****
Online Online

Posts: 5142


:sniffle: Humor was so much easier before.


View Profile
« Reply #19 on: May 28, 2008, 10:38:18 AM »

Wait....now that I have the db and tables for the triggers etc, what's that all about?

The tables allow me to take triggers offline and put them online in a way that emulates Oracle's capabilities. Try this:

Click on Script Explorer, choose a database, choose Triggers, choose a table.

You should get the Trigger Grid, which looks like this:



Click on the "new" icon and you should get a new trigger in the editing pane and the icons will change for THAT EVENT. Note the "On / Off" switch - all triggers start in an offline state. The under-the-hood deal is that they are kept in my table, not in the MySQL triggers tables. You can edit and create all kinds of problems and still save them when they are offline. When you click the switch to the right, I attempt to move the trigger from the offline table to an actual trigger, for that DB/Table/Event. if there's no syntax errors, it'll go online. If there are errors, it'll stay in the offline position until you fix them.

I was working on a "Best Practices" thread starter for this morning (not because I'm smart about it, but in fact because I have questions for the board myself) ... so this might be more clear then.
Logged

If I can't be Mr. Root then I don't want to play.
dink
Expert
****
Offline Offline

Posts: 319


View Profile
« Reply #20 on: May 28, 2008, 12:06:16 PM »

Nope.  No joy.

Browser please... or let me know which icons are not working. Please open a procedure, then run your mouse over and hold on the Save As icon (disk with a +)

thanks!

Firefox 2.0.0.14
[Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14]

Opened a new procedure.  Used the default procedure name 'newprocedurename'.
Holding mouse over the Save As icon == nothing.
Holding mouse over any of the four icons in the lower pane == nothing.

Edited the new procedure.
Holding mouse over any of the six icons in the lower pane == nothing.


Logged

[quote Nutballs]
the universe has a giant fist, and its got enough whoop ass for everyone.
[/quote]
perkiset
Olde World Hacker
Administrator
Lifer
*****
Online Online

Posts: 5142


:sniffle: Humor was so much easier before.


View Profile
« Reply #21 on: May 28, 2008, 12:16:43 PM »

OK thanks ... I'll get that browser going and see what's the deal.

Waiiit... you've got it installed in a subdirectory, yes?
Logged

If I can't be Mr. Root then I don't want to play.
perkiset
Olde World Hacker
Administrator
Lifer
*****
Online Online

Posts: 5142


:sniffle: Humor was so much easier before.


View Profile
« Reply #22 on: May 28, 2008, 12:18:51 PM »

OK - go to line 110 of html.main.php - there should be a line like this:

<script src="/resources/wz_tooltip.js"></script>

ditch the first / in the url so it looks like this:

<script src="resources/wz_tooltip.js"></script>

refresh and tell me what you get...
Logged

If I can't be Mr. Root then I don't want to play.
dink
Expert
****
Offline Offline

Posts: 319


View Profile
« Reply #23 on: May 28, 2008, 12:40:14 PM »

Yep.  That was the problem.

I gots tool tips now.   Grin

Thanks.
Logged

[quote Nutballs]
the universe has a giant fist, and its got enough whoop ass for everyone.
[/quote]
perkiset
Olde World Hacker
Administrator
Lifer
*****
Online Online

Posts: 5142


:sniffle: Humor was so much easier before.


View Profile
« Reply #24 on: May 28, 2008, 12:43:26 PM »

10-4 and thanks... updated for the next release.
Logged

If I can't be Mr. Root then I don't want to play.
Pages: 1 [2]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!