vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - [Naxon] Simple WhatIsMyIP Page (https://vborg.vbsupport.ru/showthread.php?t=156454)

Naxon 09-09-2007 12:59 PM

I'll check that soon...

yoyoyoyo 09-10-2007 01:24 AM

Quote:

Originally Posted by ruger (Post 1333944)
Same thing here.

yep- same problem here:

Code:

Database error in vBulletin 3.6.8:

Invalid SQL:
INSERT INTO `vbulletin`.`whatismyip` (
    `id` ,
    `enabled` ,
    `ipinfo`
    )
    VALUES (
    '1', '1', 'An IP address (Internet Protocol address) is a unique address that certain electronic devices use in order to identify and communicate with each other on a computer network utilizing the Internet Protocol standard (IP)?in simpler terms, a computer address. Any participating network device?including routers, computers, time-servers, printers, Internet fax machines, and some telephones?can have their own unique address.
    <br />
    <br />
    From WikiPedia ?'
    );;

MySQL Error  : INSERT command denied to user 'user_database'@'localhost' for table 'whatismyip'
Error Number : 1142
Date        : Sunday, September 9th 2007 @ 09:19:17 PM
Script      : http://mysite.com/forum/ipinstall.php
Referrer    :
IP Address  : 19.70.983.047
Username    : Bozo
Classname    : vb_database


Naxon 09-13-2007 12:38 AM

^ Will be fixed soon.

Naxon 09-19-2007 12:45 PM

ipinstall.php Fixed !!

yoyoyoyo 09-19-2007 12:50 PM

Quote:

Originally Posted by Naxon (Post 1342414)
ipinstall.php Fixed !!

cool - I'll give it a try and let you know.

yoyoyoyo 09-19-2007 01:09 PM

Quote:

Database error in vBulletin 3.6.8:

Invalid SQL:
UPDATE `whatismyip` SET `enabled`='1', `ipinfo`='' WHERE `id`='1';

MySQL Error : Unknown column 'enabled' in 'field list'
Error Number : 1054
Date : Wednesday, September 19th 2007 @ 08:53:01 AM
Script : http://mysite.com/forum/admincpx/whatismyip.php?do=update
Referrer : http://mysite.com/forum/admincpx/whatismyip.php
IP Address : XX.XX.XXX.XXX
Username : Administrator
Classname : vb_database
I tried running the install.php, hoping that would take care of this, but I received this error:

Quote:

Database error in vBulletin 3.6.8:

Quote:

Invalid SQL:
CREATE TABLE `whatismyip` (
`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`ebabled` INT NOT NULL ,
`ipinfo` LONGTEXT NOT NULL
);;

MySQL Error : Table 'whatismyip' already exists
Error Number : 1050
Date : Wednesday, September 19th 2007 @ 08:56:28 AM
Script : http://mysite.com/forum/ipinstall.php
Referrer :
IP Address : XX.XX.XXX.XXX
Username : Administrator
Classname : vb_database

I went to my ACP and ran the SQL query: DROP TABLE `whatismyip` and tried to run the install script again and received this error:

Quote:

MySQL Error : Unknown column 'enabled' in 'field list'
Error Number : 1054
Date : Wednesday, September 19th 2007 @ 09:01:44 AM
Script : http://mysite.com/forum/ipinstall.php
Referrer :
IP Address : XX.XX.XXX.XXX
Username : Administrator
Classname : vb_database
BTW - IMO, if you are going to let people rely on an installer script, I suggest having an "uninstall" option as well.

ragtek 09-19-2007 01:32 PM

1. for what you need a own database for these values? put them into the vb settings(but i think they aren't necessery)
the one thing is a phrase, the enable part could be with vb settings
2. why you don't get the template per globaltemplates?
PHP Code:

$globaltemplates = array(
    
// 'WHATISMYIP',
); 

its commentet out??

Naxon 09-19-2007 07:12 PM

Quote:

Originally Posted by yoyoyoyo (Post 1342428)
I tried running the install.php, hoping that would take care of this, but I received this error:

I went to my ACP and ran the SQL query: DROP TABLE `whatismyip` and tried to run the install script again and received this error:

BTW - IMO, if you are going to let people rely on an installer script, I suggest having an "uninstall" option as well.

I can't understand why it isn't working... for me it works perefectly...
I'll check this out...

ragtek 09-19-2007 07:25 PM

because this puts the table_prefix befor the name!
and you aren't using the table_prefixes, so the script can't find the table


All times are GMT. The time now is 11:24 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01136 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete