phpWebLog - web news management with adolescent sexist humor
find
story index | search | archive | submit story | downloads | stats | contact
Topics
  • General (909)
  • Announcements (20)
  • Development (518)
  • Mods & Hacks (32)


  • phpWebLog
  • Latest Release - 0.5.3 (BETA)
  • Latest Stable - 0.5.2
  • ChangeLog
  • TODO / Roadmap
  • BUGS

    CVS WEB

  • New XL fork 0.5.2
  • Unstable branch 0.5.3

  • For development discussions and for general support, join the phpWebLog mailing list

    phpWebLog needs active developers to help fix bugs. If you are interested, send me your SourceForge login information for CVS access.


    Last 5 Comments
  • Where can I modify the style of bottom navigation? (Ken Farmer)
  • Great News for PHP Programmers.... (Nekrataal)
  • Unable to update URL block content. (Nekrataal)
  • Comment management (Nekrataal)
  • phpweblog woes (Nekrataal)


  • Newbie question - General
    Posted by Mike Fitzhugh (Saturday March 10 2001 @ 12:40AM EST) views: 142
    Hi, I have a newbie question related to db setup: While trying to load tables.sql into my mysql db (named "objfdata"), I get the following error:

    "ERROR 1064 at line 79: You have an error in your SQL syntax near 'KEY Name(Name)
    ) TYPE=MyISAM' at line 5"

    I tried to get mysql to give me more info using perror, but it didn't get me anywhere. So, I went into tables.sql and removed all the lines in the CREATE statements which referred to UNIQUE keys, like "UNIQUE KEY Name(Name)", "UNIQUE KEY Url(Url)", etc. Then, I tried to create the tables one by one and was able to do so with no problems.

    I fired up the admin screen to do initial setup and everything seemed to work just fine, but I supspect that I'm gonna pay for chopping those UNIQUES. Does anyone have any idea what might be going on?

    For the record, I'm running MySql ver. 3.22.17 on FreeBSD 2.2.8-RELEASE.

    Thanks in advance.
    /mike

    < Missing in norwegian.lng | Making a page show up in the first page instead of a topic >

    By Brian Milby (Saturday March 10 2001 @ 12:24PM EST)
    You'll need to upgrade your version of MySQL to 3.23 for the UNIQUE index to work.
    [ reply | parent ]
    By Mike Fitzhugh (Saturday March 10 2001 @ 02:12PM EST)
    Brian, will I lose functionality if I don't create those indexes or just performance?
    [ reply | parent ]
    By Brian Milby (Saturday March 10 2001 @ 04:38PM EST)
    The only thing that I see is that the database won't prevent you from adding duplicate Topics, Links, or IndexNames. 2 out of 3 are purely admin functions, so that shouldn't be that big of a deal. Links would just end up with dupes, which you could delete.
    [ reply | parent ]
    Post a Comment
    Name:
    Email:
    URL:
      Remember my information (uses cookies)
      I would rather be anonymous
    Comment:
    * Your email will not be made public.
    Save As:
    SourceForge
    SourceForge is providing us a mailing list , documentation and a CVS tree.

    SourceForge Logo


    PHP.net
  • PHP Usage Survey Results
  • PHP Manual CHM Edition - 12th build
  • International PHP Conference 2003 program online
  • Server Central Donates Server
  • European Open Source Development Threatened!
  • php{con west is announced
  • PHP 4.3.3 released!
  • Active Awards 2003 Winners
  • PHP.net news history
  • Select mirror for redirection

  • PHPBuilder
  • On User-Defined Timezones in PHP
  • Dreamweaver MX 2004
  • Using PEAR's HTML_Table Class
  • An introduction to the ADOdb class library, Part 2
  • An introduction to the ADOdb class library for PHP
  • Manually Expiring Web Pages
  • Regression Testing With JMeter
  • Advanced Image Editing Under the GD Library
  • The Benefits of Using Objects with Databases
  • Interfacing with COM objects under Windows


  • phpWebLog: A PHP News and Content Management System
    Copyright (C) 2000-2002, Jason Hines / Eye Integrated Communications