Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter m3avrck

    (@m3avrck)

    Yes each sub page could be a new file, don’t need one page at all. Just not sure if that would be possible.

    Any good examples of sites being run like this in WP? Or documentation on how I might go about this?

    Thread Starter m3avrck

    (@m3avrck)

    Yeah I was thinking hacking WP might be more effort. My other idea is to just create either a hiearchy of folders/files for this content or store it in a database, in a simple table, with content ID, title, and text of page and then just have my master index.php grab the page it needs and put this in the middle of a header/footer/menu code.
    And then make an easy “edit this page” link when logged in takes the user to a simple textarea field to edit the content, using a great Text Editor: http://www.fckeditor.net/ … seems like this might work best?
    Btw, any thoughts on including FCK Editor into WP? Could be a great plugin and make blogging even easier for non-techies.

    Forum: Fixing WordPress
    In reply to: 1.3?

    yes i have the same question too. what is the expected release date of 1.3? i’m running PHP 5.0.1 and so far alpha 2 works great with it. any other builds don’t so i definetly need version 1.3, the more stable and the sooner the better. thanks!

    Thread Starter m3avrck

    (@m3avrck)

    hmmm looks like you don’t need to comment out that line after all. first time it did work, second time it didn’t. something screwy going on there.

    Thread Starter m3avrck

    (@m3avrck)

    oh after doing that, you needed to got into the wp-db.php file, change the mysql_connect line to:
    $this->dbh = @mysql_connect($dbhost,$dbuser,$dbpassword,$dbname);
    and then comment out: //$this->select($dbname);
    then everything worked, mysql 4.1.x and PHP 5.0.1 yay!

    Thread Starter m3avrck

    (@m3avrck)

    ok i did some research and found out that when using mysql 4.1.x, passwords are hashed differently than older versions and hence mysql_connect() won’t work.
    however, if you run this code:
    UPDATE mysql.user SET PASSWORD = OLD_PASSWORD(
    ‘new_password_here’
    ) WHERE User = ‘some_user’
    this will setup up an account that uses the old styled passwords. then you can use this account in wordpress and the old mysql_connect(). otherwise, you need to use mysqli_connect() and update all of the connections to use the new interface. hope this helps someone, took me 2 days to figure out!

Viewing 6 replies - 1 through 6 (of 6 total)