• Hopefully I can properly describe the problem here. :o)

    I am using pretty much custom PHP code via custom page templates and things were going good until I had to tie in a couple of pages to finish my project. There are three pages involved, two of the three make database calls to an external database, and one of the two pages does so successfully, yet the third page is blank. The code for these pages was copied over from our existing site. Both the live server (running no wp) and the new server (which is a server copy of the existing server and wp has been installed on it).

    Now, what I have attempted to do so far (as I can remember anyway)

    1) tested the native php pages outside of the wordpress directories – successful

    2) put the first page into the theme directory and tested (using default permalinks btw) – successful

    3) Clicked on on of the links from step 2 (links were dynamically created from a database call to an external server – successful as well)

    4) The last page however, when a link is clicked on, the table comes back blank. In otherwords, the call to the same database from step 3 fails.

    Here is the current file structure:
    (yes, I know right now I am not resolving the IP addy to a hostname and there is a reason for it ;o)

    start page – 1.2.3.4/wp/?page_id=74 – clicking on one of the dynamically created links (again a call to an external database)

    takes you to:

    1.2.3.4wp/?page_id=211?truck_id=R826&part_id=R11-KOVATCH&title=1
    and this is where the data returned is blank.

    Hopefully I have given enough information for someone to be able to give some help here. Also, the site is private and firewalled so I am not able to give public access or examples for help, sorry.

    TIA…

    Shawn

Viewing 1 replies (of 1 total)
  • Thread Starter 0be1

    (@0be1)

    Also, I can leave the first page within the wp theme directory and make the call to my second page (outside of the wp directory, but still within the root of my www directory) and the page works fine.

    Thanks…

    Shawn

Viewing 1 replies (of 1 total)
  • The topic ‘Problems with custom PHP pages’ is closed to new replies.