Jump to content

dologin.php broken


Casper76

Recommended Posts

I am not sure when it first occurred but a customer attempted to login today to renew their domain and they received the below message:

 

Warning: main(../init.php): failed to open stream: No such file or directory in /home/hawkesb2/public_html/myaccount/dologin.php on line 0

 

Warning: main(../init.php): failed to open stream: No such file or directory in /home/hawkesb2/public_html/myaccount/dologin.php on line 0

 

Fatal error: main(): Failed opening required '../init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hawkesb2/public_html/myaccount/dologin.php on line 0

 

I then opened the dologin.php file and it appears I have corrupted it, as I am getting the error:

 

The file /home/hawkesb2/public_html/myaccount/dologin.php is corrupted.

 

Is it possible to regenerate this file?

 

Thanks

Brett

Link to comment
Share on other sites

I have managed to restore the corrupted file. I am now back to the original error (below). It appears the error may have started occurring as a result of installing the latest version 5.3.9.

 

 

Warning: main(../init.php): failed to open stream: No such file or directory in /home/hawkesb2/public_html/myaccount/dologin.php on line 0

 

Warning: main(../init.php): failed to open stream: No such file or directory in /home/hawkesb2/public_html/myaccount/dologin.php on line 0

 

Fatal error: main(): Failed opening required '../init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hawkesb2/public_html/myaccount/dologin.php on line 0

Link to comment
Share on other sites

Hi,

I can not login to my admin & client area myself.

 

Warning: main(../init.php): failed to open stream: No such file or directory in /var/www/V2000/htdocs/secure/dologin.php on line 0

 

Warning: main(../init.php): failed to open stream: No such file or directory in /var/www/V2000/htdocs/secure/dologin.php on line 0

 

Fatal error: main(): Failed opening required '../init.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/V2000/htdocs/secure/dologin.php on line 0

 

Can you help me?

Edited by PhiGi
Link to comment
Share on other sites

Help!

I have lost 2 customers due to this error!

 

- - - Updated - - -

 

I have just restored by /myaccount/dologin.php from before the backup and it appears to work again!

 

Thanks, I downloaded WHMCS V5.3.8 and copied the dologin.php file from this install. This has resolved my issue.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated