Jump to content

My php script can`t login to cpanel


trecords

Recommended Posts

Hi,

 

I have php script which does auto login to cPanel and park domains. This script before worked but now something changed and i am getting this error:

 

Warning: file(http://...@174.121.1.1:2082/frontend/x/park/doaddparked.html?domain=admin.com) [function.file]: failed to open stream: on some php line

Warning: Invalid argument supplied for foreach() in some php line

Fatal error: Cannot use object of type DB_Error as array in some php line

 

I wounder what can block my script to login login to cpanel? Which settings do i need to change from WHM to allow my php to do login? Or can something block to do auto park of php script?

 

Thanks.

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