Fork me on GitHub

Impossible to add new category in books 721 module  Bottom

  • Hello,

    I installed books 721 on a PN 0.726 system.
    Installation went flawless. On my local system (win2k) works
    everything ok, on my website not.

    When I want to add a new category (the first) I receive this message:
    "There are Books in our database" & "Category saved"

    So I want to add a book and I get this:
    "ERROR: There are no categories at all. Please add at least one main
    category first."

    What is correct, no category is present. Even when I create one
    manually in phpMyAdmin, I still get this error message. cry

    I've tried the latest files from CVS.
    What solution can I use to solve this error?

    Regards,
    Erwin

    P.S. A user can add a new book without picking a category and it's put in the review table. But when I want to review them, no submissions are reported... icon_rolleyes
  • Well, I figured out what's happening:

    books is trying to get the information from the wrong database! It's looking into the phpNewAds database.
    So now the question is a lot easier: how do I modify either the books mod or phpNewAds or PN that ALWAYS the right database is used?

    Cheers,
    Erwin

This list is based on users active over the last 60 minutes.