Menu

index.php problems?

Help
2002-06-29
2013-03-14
  • Chris Crews

    Chris Crews - 2002-06-29

    I'm having similar problems with the index.php page. The source code appears to be fine, and if I tweak a line of script it tells my there is a mysql line error, but it won't seem to read the .js or output anything except the page color and title.
    Adjusted all of the other variables and admin is working fine, but no go with an index or visible poll. Even tried inserting it into another page as an include but no luck.

    Any help from the design folks on this on? It seems like a few of us are having that problem.

    thanks
    neo

     
    • Mike Robinson

      Mike Robinson - 2002-07-07

      Yeah I found the problem.
      New RC will be available shortly.

      In the meantime, the fix is to correct the mysql field names on line 144 of userpolls.inc.php. Change startdate and stopdate to starttime and stoptime respectively.

      Nasty.

      Thanks for the post.

       
    • Anonymous

      Anonymous - 2002-07-10

      I also am encountering this issue even though I've downloaded the latest version.  I checked line 144 in userpolls.inc.php and the startime and stoptime are there.  Any other ideas which may help me get index.php up and running?

      thanks....

       
      • Mike Robinson

        Mike Robinson - 2002-07-10

        Please check the expiry time of the poll. If there is no valid poll, the script outputs nothing.

         
    • Michael Flanagan

      Ok, I just messed around and got this installed.

      A little history here first. In order to get the mysql.sql script to execute, I had to remove all the inserts from it because that creation script was not compatible with the version of mysql I have installed. I only created empty tables.

      Once I had the tables created, I hit the admin.php and created a new poll.

      I proceeded to the index.php page and got what it sounds like the rest of you are getting, a bank greyish webpage that has a title.

      For me, the reason I was getting a blank screen was because in the call to poll_generateUI() the first paramater was a hard coded poll_id. I had to change this value to "1" in order to get my poll to display on the index page.

      Don't know if this will help the rest of you, but this was my solution.

       
    • louis tan

      louis tan - 2004-10-08

      Remove the " " around the url in the index.php page and replace it with '  '. That's how I got mine working.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.