Skip to content
This repository has been archived by the owner on Sep 6, 2020. It is now read-only.

Uncaught Error: Class 'Gufy\CpanelPhp\Cpanel' not found #35

Open
SwapnilAkolkar opened this issue Apr 10, 2020 · 1 comment
Open

Uncaught Error: Class 'Gufy\CpanelPhp\Cpanel' not found #35

SwapnilAkolkar opened this issue Apr 10, 2020 · 1 comment

Comments

@SwapnilAkolkar
Copy link

hi I just new bee here I wanted know how to use it I hit command for composer n files were get downloaded in my localhost xampp
in winodws C:\xampp\htdocs\cpanel\vendor\gufy\cpanel-php\src\Gufy\CpanelPhp this is my path to Cpanel.php

in C:\xampp\htdocs\cpanel I wrote index.php with code

'https://123.456.789.123:2087', // ip or domain complete with its protocol and port 'username' => 'root', // username of your server, it usually root. 'auth_type' => 'hash', // set 'hash' or 'password' 'password' => 'password', // long hash or your user's password ]); $accounts = $cpanel->listaccts(); // it will returned as array I gives me error Fatal error: Uncaught Error: Class 'Gufy\CpanelPhp\Cpanel' not found in C:\xampp\htdocs\cpanel\index.php:2 Stack trace: #0 {main} thrown in C:\xampp\htdocs\cpanel\index.php on line 2 how I can give reference to the CPanel.php file I tried to give full path by require once but it still gives error.
@JamesThanna
Copy link

Can you provide the full code and error so we can take a look?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants