Jump to content
MakeWebGames

[mccode] Clean Up Page Errors


Uridium
 Share

Recommended Posts

When Users try to access pages they should'nt see they are usually Greeted with a message as below...

403: Access Denied

Fatal error: Call to a member function endpage() on a non-object in /xxxx/xxxxxx/public_html/sglobals.php on line 69

To Prevent this unsightly message open up sglobals .php and look for the 403 error

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

And over write with this one

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

You can also add the above coding to your smenu.php and staff.php

 

Just makes your pages look more dignified than having a Function error message displayed everywhere...

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.

 Share

×
×
  • Create New...