Search results

  1. O

    Website redirecting to ACFFL

    Confirming everything is going smoothly now. Thanks!
  2. O

    Website redirecting to ACFFL

    My website displays the homepage of acffl.x10host.com. I've seen similar threads in this forum, I tried clearing my cache (and tested with other browsers as well) but to no avail. Is there something I have to do?
  3. O

    Fatal error: Class 'PDO' not found

    No problems for an hour, I'm crossing my fingers!
  4. O

    Fatal error: Class 'PDO' not found

    Hi there, I have this error message showing up whenever I try to load a webpage that calls the database via PDO: "Fatal error: Class 'PDO' not found in /home/osusigna/public_html/[...] on line[...]". The same error appears in my error_log file. This is the code that establishes the connection...
  5. O

    Database connection error from PHP script launched by a cron job

    Ok, I just understood why it doesn't work. In my globalVariables.php file, some variables are created and initialized depending on the status of $_SERVER['HTTP_HOST'] (because I have three servers to manage: x10, another one and my personal localhost). I just launched a cron job running a...
  6. O

    Database connection error from PHP script launched by a cron job

    Eh, you were right. I replaced the variables with raw data and it worked. I am puzzled :confused:
  7. O

    Database connection error from PHP script launched by a cron job

    Yes it is. Those are defined in my globalVariables.php that I include at the beginning of the script just before the database connection. And yeah they are correct and well formed, otherwise it wouldn't work with the web browser. The "using password: NO" is just bizarre.
  8. O

    Database connection error from PHP script launched by a cron job

    Hi there, I wrote a PHP script that I would like to launch everyday with a cron job. It should connect to my database with PDO and get some information from it, but what I get is an error (more details below) even though the same code works well when launched from a browser. Here's my cron...
Top