(Solved)Debug Mode on

Support for IntegraMOD 141

Moderator: Integra Moderator

(Solved)Debug Mode on

PostAuthor: Valor54 » Thu Jun 03, 2010 1:08 am

Hey every one,
Im stuck on trying to figure out how to turn off debug mode. bottom of my web page states it is on
"[Page generation time: 0.364s (PHP: 90% | SQL: 10%) | SQL queries: 36 | GZIP disabled | Debug on]"
Also got this error when trying to upload avatar to my profile from the same server.
"Unable to upload file

DEBUG MODE

Line : 552
File : functions_profile.php"


On top of that some things are a bit off about the sites admin section, Such as im not being informed when people are waiting on my approval by PM, and they don't show up in any list. Another would be the drop down options for setting permission on various things. ei: group permission only sets mod status on/off on advance mode, everything else is blank boxes (checked in IE and FF). Perhaps im just too tired and over looking something.

I hope to hear your opinions soon on this matter.
Last edited by Valor54 on Thu Jun 03, 2010 3:55 pm, edited 1 time in total.

Valor54
Newbie
Newbie
 
Posts: 16
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 23, 2008 10:14 am
Cash on hand: 0.00

Re: Debug Mode on

PostAuthor: Helter » Thu Jun 03, 2010 8:33 am

    * Turn off DEBUG mode
OPEN includesconstants.php
FIND
Code: Select all
define('DEBUG', 1);

REPLACE WITH
Code: Select all
define('DEBUG', 0);


    * Admin section problems

For many users this was solved by increasing the available memory for scripts in php.ini.
If you dont have access to your servers php.ini you can add this code to your forum root/.htaccess

FIND
Code: Select all
  

BEFORE, ADD
Code: Select all
ini_set("memory_limit","16M"



if your running Centos or redhat you can find your php.ini here
/usr/local/lib/php.ini
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4168
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 187.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: Debug Mode on

PostAuthor: Valor54 » Thu Jun 03, 2010 11:11 am

Helter, I do have access to my php.ini but im unable to locate where memory is in the file.
Unfortunately i dont understand the process very well, ill search around if any one else has explained this as well and edit if i find out how.

Code: Select all
register_globals = offallow_url_fopen = off  expose_php = Offmax_input_time = 60variables_order = "EGPCS"extension_dir = ./upload_tmp_dir = /tmpprecision = 12SMTP = relay-hosting.secureserver.neturl_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="  [Zend]zend_extension=/usr/local/zo/ZendExtensionManager.sozend_extension=/usr/local/zo/4_3/ZendOptimizer.so  


EDIT]http://www.guild2die4.com/images/junk/wut.png[/img]
Forgot to mention in Approval/Users tab there is a user named Anonymous. Its the only user to be listed and when clicked it says user doesn't exist

EDIT3: I guess when the option is set to private the drop down menus appears.

Valor54
Newbie
Newbie
 
Posts: 16
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 23, 2008 10:14 am
Cash on hand: 0.00

Re: Debug Mode on

PostAuthor: Helter » Thu Jun 03, 2010 3:17 pm

adding it to your config is fine.

Edit3 is correct, but it will be much easier to make usergroups and edit permissions for the groups, then add users to them, otherwise you may be repeating the same task many times over
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4168
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 187.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: Debug Mode on

PostAuthor: Valor54 » Thu Jun 03, 2010 3:55 pm

Thanks for the help, Helter, it was very much appreciated.

Valor54
Newbie
Newbie
 
Posts: 16
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 23, 2008 10:14 am
Cash on hand: 0.00


Return to IntegraMOD 141

Who is online

Registered users: Google [Bot], Vendethiel

cron