Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Making Nuke Efficient
Author Message
link
Regular
Regular



Joined: Dec 24, 2004
Posts: 56

PostPosted: Sun Jan 02, 2005 4:34 pm Reply with quote

I just had a great idea.. or...maybe ive drank to much cofee?

Its up to you to decide.

anyway....

Within the error capturing of php programming...

like

Code:
<?

 
 @ $db = mysql_pconnect("localhost", "username", "password");


  if (!$db)
  {
     echo "Error: Could not connect to database.  Please try again later.";
include ("includes/footer.inc");
     exit;
  }



Why not set up forums... with the answers to those errors... and inlcude links within the error capturing???

like

Code:
<?

 
 @ $db = mysql_pconnect("localhost", "username", "password");


  if (!$db)
  {
     echo "Error: Could not connect to database.  Please try again later.";
     echo "<br>";
     echo "<a href="http://somewebsite.com/modules.php?name=Forums&file=posting&mode=newtopic&f=16">Error 420</a">;

include ("includes/footer.inc");
     exit;
  }


95 percent of the people that would get the error...
"Error: Could not connect to database"
Would not know to go back and check the username and password...

This would in my oppinion increase the ability of php-nuke to be used by new programmers... make looking for fixes... only a click away...


Last edited by link on Mon Jan 03, 2005 10:05 pm; edited 1 time in total 
View user's profile Send private message Visit poster's website
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Sun Jan 02, 2005 4:51 pm Reply with quote

no not to much cofee but i would mean that the forum can never be touched,moved or whatever...
 
View user's profile Send private message
link







PostPosted: Sun Jan 02, 2005 9:05 pm Reply with quote

point taken.

Smile
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sun Jan 02, 2005 9:35 pm Reply with quote

nukecops? Who's that?
 
View user's profile Send private message
djmaze
Subject Matter Expert



Joined: May 15, 2004
Posts: 727
Location: http://tinyurl.com/5z8dmv

PostPosted: Mon Jan 03, 2005 2:32 am Reply with quote

Shouldn't the creator of the system point to a FAQ on his website ?

Oh yeah i forgot phpnuke.org has no FAQ and Forums Laughing
 
View user's profile Send private message Visit poster's website
hitwalker







PostPosted: Mon Jan 03, 2005 5:47 am Reply with quote

well they had one,but its just as unreliable as the rest.
then its there then its gone again...
saw a picture of FB today...
had to see a doctor,but im ok now.
 
link







PostPosted: Mon Jan 03, 2005 10:03 pm Reply with quote

Man you guys are ripping on nukecops...lol

Ive heard ome bad stuff about them lateley as well. lol

Maybe i ll hang out here...

You guys seem cooler anyway.

Alot friendlier.

Did nukecops get bought out or what? They used to be reliable.

As far as nukecops within the code... i had first posted the statement there...

then here...
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Making Nuke Efficient

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©