Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Post Installation Help
Author Message
corporalstorm
Hangin' Around


Joined: Nov 06, 2006
Posts: 46

PostPosted: Tue Nov 07, 2006 3:16 am Reply with quote

I'm getting an error when I attempt to add a download.. This is the error,

Code:
Fatal error: Call to undefined function: opentable() in /home/content/c/o/r/corporalstorm/html/sub.domains/test/mainfile.php on line 1380


and this is line 1380

Code:
function validate_mail($email) {

  if(strlen($email) < 7 || !preg_match("/\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/", $email)) {
     //include_once("header.php");
     OpenTable();
     echo _ERRORINVEMAIL;
     CloseTable();
     //include_once("footer.php");
  }
  else {
     return $email;


It has to do with the email address not being entered. How can I fix that? I dont care if they have ane mail or not. Files will be added by me solely but it appears that the only way I can add a freakin download is by having a user acct. Nuke is starting to not make me happy. I wanted to disable the "Add Download" and move it to the Super User account but I have no permission to add because im not a "User".. which is bogus..

Anyone know a work around, otherwise if osme idiot tries to add a download I'll just reject it.
 
View user's profile Send private message
jakec
Site Admin


Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Tue Nov 07, 2006 7:13 am Reply with quote

You should be able to set the Add Download to admin, or registered users.

Also admins can add downloads via the Downloads Administration.
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Post Installation Help

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 ©