Results 1 to 6 of 6
  1. #1
    Newbie
    Join Date
    August 10th, 2009
    Posts
    3
    PHP code instead of product appears
    I'm new to this forum as well as Popshops & need help. I contacted support and didn't get a live body and also did a search here, to no avail. I upgraded to a paid plan so that I could place PHP code on my pages and get the benefits thereof. I have a Wordpress site, use the Exec-PHP plugin, and even tried the Popshop Wordpress plugin, but all I see is my PHP code on the page instead of products. I did publish the page as well & no dice. Could really use some good advice to solve the problem. Thanks a lot.

  2. #2
    Comfortably Numb John Powell's Avatar
    Join Date
    October 17th, 2005
    Location
    Bayou Country, LA
    Posts
    3,432
    If you are doing <?php ..... ?> inside an .html file you should check your .htaccess if you are on Apache. Sounds like a server side setting.


  3. #3
    Believe knight01's Avatar
    Join Date
    August 14th, 2006
    Location
    Dayton, Ohio
    Posts
    1,815
    I've had this happen to me from time to time. I use the popshops plugin, make sure the entire folder and subfolders get uploaded to the /plugins folder of wordpress.

    I don't recall which file it was, but I didn't upload it and just the popshops php plugin code showed when viewing the page.
    Someday starts today
    Military Discounts

  4. #4
    Newbie
    Join Date
    August 10th, 2009
    Posts
    3
    Thanks for the suggestions. Dan got in touch with me and spotted the space that Wordpress was putting in the code. (< ?php>) There were three tweaks that needed to be made, starting with the Exec-PHP plugin, and the WYSIWYG editor. After making those, everything appeared properly.

  5. #5
    ABW Ambassador JoyUnltd's Avatar
    Join Date
    January 19th, 2005
    Location
    Emerald City
    Posts
    2,019
    Could you post those tweaks? Thanks!
    Renée
    Pay no attention to that woman behind the curtain. -Wizardress of Oz

  6. #6
    Newbie
    Join Date
    August 10th, 2009
    Posts
    3
    Sure. Under settings, writing-uncheck- Wordpress should correct invalidly nested XHTML automatically. In Administration, check block to disable the visual editor when writing. At the bottom, uncheck block to disable WYSIWYG conversion warning. Did this for five different sites and they all work great. Hope this helps.

  7. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Php code problem
    By cdunde1 in forum GoldenCAN
    Replies: 9
    Last Post: August 30th, 2008, 04:55 AM
  2. php code
    By tvcrazyman in forum GoldenCAN
    Replies: 4
    Last Post: January 19th, 2006, 05:22 PM
  3. "Must place code on site exactly as it appears" REALLY?
    By cheapmom in forum Midnight Cafe'
    Replies: 8
    Last Post: May 10th, 2005, 08:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •