Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error reporting levels- suppressing one error


proteus1959

Recommended Posts

Posted

includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

 

Is the error I am getting, permissions have been set to 644

I have tried setting 444 but it keeps resetting itself to 644

 

 

Of course I can delete this from application_top

 

 

// set the level of error reporting

error_reporting(E_ALL & ~E_NOTICE);

 

But I would rather just suppress the error in question

 

Any ideas?

Posted

If you've been using FTP to change permissions, login and use the Control Panel (provided by your Web Host, NOT OSC!) to do it instead.

 

FTP is notorious for failing at this task.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
If you've been using FTP to change permissions, login and use the Control Panel (provided by your Web Host, NOT OSC!) to do it instead.

 

FTP is notorious for failing at this task.

 

 

That is my other oprtion, which if all else fails I will do.

 

However I would rather just suppress the error as the permission is 644

which means its the code that failing, not the file itself

 

As above I can easily delete the whole entry, but then I wont see ANY error reports, so there must be a way to stop just this one

Posted

In /includes/application_top.php

 

Change this line:

 

  define('WARN_CONFIG_WRITEABLE', 'true');

to

 

  define('WARN_CONFIG_WRITEABLE', 'false');

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

Thank you Germ

 

Funnily enough, i did look for something like that in it before I even asked the question, but I missed it, dunno how but I did.

 

I am now kicking myself

 

Thank though

Posted

Now feels really silly

 

"These checks can be disabled by editing the appropriate parameters at the bottom of the includes/application_top.php file.

Editing Page Texts"

 

is staring me in the face from my new installation.

 

:-"

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...