Jump to content

PHP Code oozing below page...


Guest

Recommended Posts

Hello,

I am wondering how to fix this: I have PHP code visibly displaying below my store page. Example:

$_POST Variables:

No Data!

$_GET Variables:

Array

(

	[ccUser] => 3f96c808ba73f9e69e3142abd2035f07

)

$_COOKIE Variables:

etc, etc, etc

You can see it here:

http://www.temporarylanguage.com/store/

I am new to CubeCart, have just begun to alter some of my control panel settings, have altered a bit of CSS, not sure how I caused this to happen. FYI, if I change template themes, the PHP code still displays on the page, so I don't think it has to do with me tweaking the CSS.

Thanks for any help!

shorescores

Link to comment
Share on other sites

Guest Brivtech

You need to turn off the debug output. You've gone and switched it on without realising.

Go into your admin control panel, under general settings, find the Styles & Misc. section, and inside that, make sure Enable debug output? is set to NO. When you update settings, the code will disappear.

It's not actually php code, more a summary of things happening with variables and database queries on the page. It helps anyone who is modifying the code (or trying to find a bug or even a hacking attempt) to know what's going on.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...