Click to See Complete Forum and Search --> : Table doesn't exist (millionsign signature generator)
iamme2007
May 27th, 2007, 06:34 PM
I'm using this script that generates signatures but it keeps saying the table doesn't exist even though I've created the table, heres the script:-
http://rapidshare.de/files/37032977/EmailSigs.rar.html
(I tried uploading here but its too big)
Can anyone see whats wrong with it?
penagate
May 28th, 2007, 04:57 AM
Sorry but I will have to ask you to post the code here.
If the code is too big to post or attach then that is an issue in itself. :)
iamme2007
May 28th, 2007, 06:17 AM
I get the error "Invalid Post specified. If you followed a valid link, please notify the administrator" when I try to upload it here.
kows
May 28th, 2007, 12:32 PM
you just need to post the code here, don't need to upload it here.
iamme2007
May 28th, 2007, 12:53 PM
Theres loads of files, why can't someone download from the link I gave?
penagate
May 28th, 2007, 12:59 PM
It is 10 MB big. The code cannot possibly be that long; you must have included the images or something. None of us are going to download 10 MB of code and images from an external site, load it, and then analyse and debug it for you. You will have to make an effort to at least isolate the problem part of the code yourself.
iamme2007
May 28th, 2007, 02:09 PM
Removed the images and fonts, source is attached.
kows
May 29th, 2007, 11:20 AM
well, as far as I can tell from just opening the zip file and a couple of the PHP files, you screwed up the directory structure completely. "sigsmaker.php" cannot be in "new folder" because "sigsmaker.php" references the configuration files in "includes" folder as a relative directory (eg: "includes/config.php"). move sigsmaker.php and the rest of the files in that folder (they also reference things as a relative path) to the root directory and see if that works. otherwise, that sigsmaker.php file can't even open the SQL configuration files, so it can't connect to your database.
iamme2007
May 29th, 2007, 12:17 PM
I just did that and it didn't work it gives me the same error.
kows
May 29th, 2007, 02:09 PM
what's the error?
iamme2007
May 29th, 2007, 02:35 PM
Table signatures.images doesn't exist, I have created the table.
kows
May 31st, 2007, 10:28 AM
big edit: make some test code if you're certain the table exists.
<?php
mysql_connect('host', 'username', 'password') or die('could not connect: ' . mysql_error());
mysql_select_db('database') or die('could not select: ' . mysql_error());
$sql = "SELECT * FROM table WHERE 1";
$q = mysql_query($sql) or die('could not query: ' . mysql_error());
$r = mysql_fetch_array($q) or die('could not fetch: ' . mysql_error());
?>
if you've made it this far, everything's working fine.
make sure you fill in all of the blanks to whatever your configuration files point to.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.