|
|
|
|
![]() ![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 390 Joined: 22-August 04 From: No Where Member No.: 876 |
Post
#1
Sep 4 2004, 02:56 AM
I was going to post this in the hosted forum, but not every ca go there so decided to post it here, if I should post this somewhere else sorry my mistake, ahem. So I decided to make another *BLEEP* spinoff right? another whiteyfre so non-original spinoff that'll go no where right? Well I finally figured out the whole table thing, made the freaking poll table, now I have to deal with this... http://www.myownworld.trap17.com/wfboards Can anyone help me fix these damn errors?_? %_% P.S: I dunno what I'll name it, so for now its "Another Spinoff" >_>. EDIT: Also if you notice three of them are the same(well different files/llines but they are the mysql_fetch_w/e ones), the other is the mysql_result one. |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 1,184 Joined: 20-June 04 From: the bath-tub... Member No.: 50 |
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 390 Joined: 22-August 04 From: No Where Member No.: 876 |
Post
#3
Sep 4 2004, 08:54 AM
QUOTE (wassie @ Sep 4 2004, 03:38 AM) did you sucsessfull installed the .sql files in you phpadmin? Uh wait what do you mean? The only thing I've done in phpmyadmin so far is make the polls table. I don' know much about it, I'll probably go to phpmyadmins site and look for a tutorial or something. |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 1,184 Joined: 20-June 04 From: the bath-tub... Member No.: 50 |
Post
#4
Sep 4 2004, 10:11 AM
well when i look at you uploaded files, it says: SQL.sql that file is an sql file. try to run that on phpmyadmin |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 390 Joined: 22-August 04 From: No Where Member No.: 876 |
Post
#5
Sep 4 2004, 05:18 PM
QUOTE (wassie @ Sep 4 2004, 05:11 AM) well when i look at you uploaded files, it says: SQL.sql that file is an sql file. try to run that on phpmyadmin What do you mean by "run it on phpmyadmin"? how? Sorry if its a stupid question but I'm still new to this stuff.. This post has been edited by Triple X: Sep 4 2004, 05:18 PM |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 1,184 Joined: 20-June 04 From: the bath-tub... Member No.: 50 |
Post
#6
Sep 4 2004, 06:05 PM
well you have to make tables in you mysql database... you gotta go to your cpanel, then to mysql databases, then under at that page you see: phpmyadmin, then you chose a database (at the left) and hit the SQL (at the bove) and you see a button where you can look a file on your computer, search for that "sql.sql" file, and run that... then it would be done... |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [MODERATOR]
Posts: 1,952 Joined: 11-July 04 From: under the stars Member No.: 76 myCENT:67.66 |
Post
#7
Sep 4 2004, 06:06 PM
QUOTE (Triple X @ Sep 5 2004, 01:18 AM) What do you mean by "run it on phpmyadmin"? how? Sorry if its a stupid question but I'm still new to this stuff.. triple x, at PHPMyAdmin: select your database from the list provided (under the PHPMyAdmin & Home link, on the left side). after that, you will see structure-SQL-export-search-query tabs. click on SQL tab. since you have your SQL.sql, use the second option provided (Location of the textfile). browse for your SQL.sql file then load it. i would suppose you have already set your db permissions settings from the CPANEL > SITE MANAGEMENT TOOLS > MYSQL DATABASES. if you use several DBs in your site, you can set up different user permissions from there. then make sure you grant permissions on a MySQL database to a MySQL user (based on the configuration you have in your PHP pages). |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 390 Joined: 22-August 04 From: No Where Member No.: 876 |
Post
#8
Sep 4 2004, 07:13 PM
QUOTE (lib2day @ Sep 4 2004, 01:06 PM) QUOTE (Triple X @ Sep 5 2004, 01:18 AM) What do you mean by "run it on phpmyadmin"? how? Sorry if its a stupid question but I'm still new to this stuff.. triple x, at PHPMyAdmin: select your database from the list provided (under the PHPMyAdmin & Home link, on the left side). after that, you will see structure-SQL-export-search-query tabs. click on SQL tab. since you have your SQL.sql, use the second option provided (Location of the textfile). browse for your SQL.sql file then load it. i would suppose you have already set your db permissions settings from the CPANEL > SITE MANAGEMENT TOOLS > MYSQL DATABASES. if you use several DBs in your site, you can set up different user permissions from there. then make sure you grant permissions on a MySQL database to a MySQL user (based on the configuration you have in your PHP pages). Ohhhh I see, so that time I spent making the polls table was a waste... ._. oh well. Thanks. Now to figure out this error... Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /home/triplex/public_html/wfboards/header.inc.php on line 232 eh *thinks* This post has been edited by Triple X: Sep 4 2004, 07:16 PM |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 390 Joined: 22-August 04 From: No Where Member No.: 876 |
Post
#9
Sep 5 2004, 01:51 AM
Uh sorry for being such a n00b but er...help again *slaps himself*..er does anyone know whats wrong with this? The error(which is also in my above post) is QUOTE Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /home/triplex/public_html/wfboards/header.inc.php on line 232 Line 232 of that file= CODE $theme_path = mysql_result(mysql_query('SELECT theme_path FROM themes WHERE theme_id = $userstylem'), 0);
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 498 Joined: 23-August 04 Member No.: 878 |
Post
#10
Sep 5 2004, 02:14 AM
CODE mysql_result(mysql_query('SELECT theme_path FROM themes WHERE theme_id = $userstylem'), It's complaining about that.. Hmm... Have you looked in your mysql database for theme_path and theme_id? The only other possibility could be that $userstylem is in a script that's missing it. .. And I don't even know how to program php. |
![]() ![]() |
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
3 | chalawanonline | 6,289 | 2nd August 2004 - 02:34 PM Last post by: Spectre |
|||
![]() |
7 | Raptrex | 13,228 | 27th August 2004 - 11:16 PM Last post by: Spectre |
|||
![]() |
4 | NuHoaXuLa | 6,263 | 29th August 2004 - 03:12 AM Last post by: NuHoaXuLa |
|||
![]() |
4 | Schweden | 4,978 | 8th September 2004 - 09:40 AM Last post by: Schweden |
|||
![]() |
2 | Too_Hot | 3,619 | 16th September 2004 - 05:25 PM Last post by: serverph |
|||
![]() |
2 | BoSZ | 4,246 | 17th September 2004 - 09:09 PM Last post by: BoSZ |
|||
![]() |
7 | XtremeGamer99 | 6,857 | 18th December 2008 - 10:13 PM Last post by: minimcmonkey |
|||
![]() |
8 | guangdian | 5,603 | 2nd October 2004 - 05:03 AM Last post by: football123213 |
|||
![]() |
5 | JaVe | 4,839 | 25th December 2008 - 10:11 AM Last post by: xpress |
|||
![]() |
3 | outwarsecrets | 4,754 | 10th October 2004 - 08:04 AM Last post by: whatknows |
|||
![]() |
1 | farsiscript | 927 | 9th November 2009 - 12:26 AM Last post by: kittycatlover763 |
|||
![]() |
8 | Becca | 4,876 | 16th October 2004 - 10:22 PM Last post by: Becca |
|||
![]() |
3 | pbrugge | 3,711 | 18th October 2004 - 11:41 PM Last post by: pbrugge |
|||
![]() |
4 | dundun2007 | 9,206 | 19th December 2008 - 03:53 AM Last post by: liod |
|||
![]() |
1 | Afrog2 | 2,641 | 23rd October 2004 - 02:04 PM Last post by: zip_mc |
|||
|
Open Discussion | Time is now: 22nd November 2009 - 08:40 AM |
Web Hosting Powered by ComputingHost.com.