Jump to content

busillis

Members
  • Posts

    50
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

busillis's Achievements

Member

Member (2/5)

0

Reputation

  1. Actually, I don't think thats the problem. I've put some debug echos in and it does seem to be calling it. As described above, the error only occurs when calling index. c.php manages the database connection and i get an error saying: Warning: mysql_query() [function.mysql-query]: Access denied for user 'SYSTEM'@'localhost' (using password: NO) Warning: mysql_query() [function.mysql-query]: A link to the server could not be established Could this be a problem if two different phps are calling include to c.php?
  2. Is there a way for me to force the path of where the file is kept? root: index.php root/includes: a.php, b.php, c.php Index includes a.php. a.php includes b.php b.php includes c.php When I invoke index.php, c.php has errors. When I invoke b.php, c.php does not error
  3. I am trying to import: import org.apache.commons.httpclient.*; import org.apache.commons.httpclient.methods.*; import org.apache.commons.httpclient.param.HttpMethodParams; but netbeans states that it doesn't exist. I have added the external JARS to the libraries folder within Projects: apache-mime4j0.6.jar commons-codec-1.3.jar commons-logging-1.1.1.jar httpclient-4.0.1.jar httpcore-4.0.1.jar httpmime-4.0.1.jar But still no luck. I have also tried this in Eclipse but I get "cannot be resolved". I must be doing something fundamentally wrong, but I cannot figure it out. :-(
  4. Considering merging several into one. Is there anything I should look out for, such as conflicting names of styles?
  5. Does the calendar get the month names from the users computer, or is this predefined in the control itself? I.e. for the same piece of code, would it say "June" when viewing it on an English PC and the German equivalent when viewing it on a German PC?
  6. I am not an admin of the database server, but I do have UNIX access. Is there any command I can do to reset the connections to the database? Please, if you have any tips?
  7. if (form.cardnumber.length <16) { document.getElementById("errors").innerHTML += "<p>Invalid card number provided.</p>"; form.cardnumber.focus(); haserror=true; } This doesn't seem to be doing anything, but the other validation ones (such as checking its not empty) is. Any idea?
  8. No, its not. Its all falling apart. I really don't understand this. It was working perfectly fine earlier and I hadn't changed anything. Even someone else tried out the system and they did not get any errors.
  9. OK, I think I solved it... I removed "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">" from above <?php in the invoking file. (i.e. edit page) Would this be the solution? I just don't want this problem to mystically reappear! btw I really appreciate your help here guys.
  10. Unfortunately I don't understand it though? If I did, I wouldn't be here :-P Is the problem in the header file, or the file that is invoking the header (requiring it) ?
  11. The weird thing is when hitting refresh, sometimes the error disappears and other times it does not!?
  12. Nothing... I tested it from work today (only viewing the pages and using the functionality; did not even open the code. I ran it just now and i'm getting this...
  13. Header: <?php session_start(); There is nothing there in header, line 2 is session start...!?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.