Any help with this will be greatly appreciated!!

I am having a recurring problem with PHP throwing the 'Access Violation' errors. On refresh of the page the page loads correctly, but I can't count on my visitors to know that...so, can I catch this error and force a page refresh so as to avoid my visitors from seeing the violation report??
If so, how?

Upgrading to PHP 5 is not an immediate option, but it looks like these errors persist in 5 anyhow.

Thanks
T

    What is the exact error?

    Also, are you using Windows?

      The error reads

      PHP has encountered an Access Violation at 018017AB

      thats all that appears on the page. The number is never the same, not sure what it signifies. We are running IIS, and usually restarting IIS will solve the issue for the next few days. It also seems that any update (upload of files) can trigger these access violations.

      Sorry for not mentioning these details earlier.

      --T

        This problem hapens when the PHP is trying to access some file and has
        not premissions to do it.

        To solve this problem, inspect your php.ini, some paths variables like
        upload_tmp_dir or session_save_path and others, must be configured to
        use directories with write permissios for the http user.

          Write a Reply...