Results 1 to 12 of 12

Thread: Table doesn't exist (millionsign signature generator)

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2007
    Posts
    190

    Table doesn't exist (millionsign signature generator)

    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?

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Table doesn't exist (millionsign signature generator)

    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.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 2007
    Posts
    190

    Re: Table doesn't exist (millionsign signature generator)

    I get the error "Invalid Post specified. If you followed a valid link, please notify the administrator" when I try to upload it here.

  4. #4
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: Table doesn't exist (millionsign signature generator)

    you just need to post the code here, don't need to upload it here.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Jan 2007
    Posts
    190

    Re: Table doesn't exist (millionsign signature generator)

    Theres loads of files, why can't someone download from the link I gave?

  6. #6
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Table doesn't exist (millionsign signature generator)

    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.

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Jan 2007
    Posts
    190

    Re: Table doesn't exist (millionsign signature generator)

    Removed the images and fonts, source is attached.
    Attached Files Attached Files

  8. #8
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: Table doesn't exist (millionsign signature generator)

    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.

  9. #9

    Thread Starter
    Addicted Member
    Join Date
    Jan 2007
    Posts
    190

    Re: Table doesn't exist (millionsign signature generator)

    I just did that and it didn't work it gives me the same error.

  10. #10
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: Table doesn't exist (millionsign signature generator)

    what's the error?

  11. #11

    Thread Starter
    Addicted Member
    Join Date
    Jan 2007
    Posts
    190

    Re: Table doesn't exist (millionsign signature generator)

    Table signatures.images doesn't exist, I have created the table.

  12. #12
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: Table doesn't exist (millionsign signature generator)

    big edit: make some test code if you're certain the table exists.
    PHP Code:
    <?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.
    Last edited by kows; May 31st, 2007 at 10:49 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width