cpanel

How to find and disable MySQL strict mode?

不想你离开。 提交于 2019-12-20 22:04:12
问题 Hello everybody I wanted to find this mysql strict mode for whmcs and disable it but i didn't had a progress I'm a newbie so sry if I didn't mention other things Can anyone help me? I'm working on WHM/Cpanel 回答1: To turn off (or on) mysql strict access from cpanel. 1, search for 'phpmyadmin', in the search box, click on it 2, once phpmyadmin is loaded up, click on the 'variables' tab 3, search for 'sql mode' then to turn strict mode on enter STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION to turn

Has anyone come across this php error before, Warning: imagejpeg()?

北慕城南 提交于 2019-12-20 06:21:45
问题 Warning: imagejpeg() [function.imagejpeg]: Unable to open '/home/SITENAME/public_html/files/cache/052f225905c1618003df0c5088aec7a9.jpg' for writing: Permission denied in /home/SITENAME/public_html/concrete/helpers/image.php on line 172 I emptied the cache directory and still no luck, and if I change the permissions on the cache folder then I get another error and I can't use the site at all: Warning: require_once(Zend/Cache/Backend/File.php) [function.require-once]: failed to open stream: No

How to connect github desktop with cpanel

余生长醉 提交于 2019-12-20 05:49:10
问题 I have a repository on cpanel and connected with my local PC. When I do changes in any of the file I go to cmd, type git commit -a , git push ......it asks my cpanel password and I enter and successfully push the changes to cpanel and my website changes are appeared But I want to commit changes from GitHub Desktop to cpanel repository instead of typing commands via cmd. Do I need to create an online github account and create a repository with same name there and connect with that? Also I have

How to turn off php safe_mode off for a particular directory in a shared hosting environment?

一笑奈何 提交于 2019-12-20 03:09:37
问题 Hi I'm used shared hosting. I want to turn off php safe_mode off for my site. My provider gave me a php.ini file and asked me to put it with my settings in my public_html folder to override the settings, but it didn't work. 回答1: You can also try to create a file called php.ini in the root (public_html or other) folder, and putting the following in it: safe_mode = Off Depending on server settings, this may or may not work. 回答2: Your service provider might have forgot to tell you that you need

How to create an Email Account in Cpanel via PHP? [closed]

♀尐吖头ヾ 提交于 2019-12-18 15:05:46
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 8 years ago . How do I create email accounts with PHP using the xmlapi.php library from cPanel? Note: I need to create more than 1000 email accounts and want to know if this is possible. Thanks. 回答1: UPDATED I have updated

How to create an Email Account in Cpanel via PHP? [closed]

北城以北 提交于 2019-12-18 15:05:10
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 8 years ago . How do I create email accounts with PHP using the xmlapi.php library from cPanel? Note: I need to create more than 1000 email accounts and want to know if this is possible. Thanks. 回答1: UPDATED I have updated

Run CRON job everyday at specific time

前提是你 提交于 2019-12-18 10:49:16
问题 Right now i am running my cron job everyday at 3.00PM 0 15 * * * But I want to run my cron job twice in a day. 10.30AM and 2.30PM 0 30 10 * * * I believe this command will run at 10.30AM. How should i run it in 2.30PM? 回答1: Cron utility is an effective way to schedule a routine background job at a specific time and/or day on an on-going basis. Linux Crontab Format MIN HOUR DOM MON DOW CMD Example :: Scheduling a Job For a Specific Time The basic usage of cron is to execute a job in a specific

Run CRON job everyday at specific time

冷暖自知 提交于 2019-12-18 10:49:08
问题 Right now i am running my cron job everyday at 3.00PM 0 15 * * * But I want to run my cron job twice in a day. 10.30AM and 2.30PM 0 30 10 * * * I believe this command will run at 10.30AM. How should i run it in 2.30PM? 回答1: Cron utility is an effective way to schedule a routine background job at a specific time and/or day on an on-going basis. Linux Crontab Format MIN HOUR DOM MON DOW CMD Example :: Scheduling a Job For a Specific Time The basic usage of cron is to execute a job in a specific

cakephp 3 Cron Job not working in cpanel

亡梦爱人 提交于 2019-12-18 09:01:27
问题 I am trying to implement cron job in cakephp 3 shell script but it is not working in cpanel. below is my cron job code blog is my cakephp 3 folder cd /home/mmentert/public_html/abc.com/blog && bin/cake hello main Cakephp 3 shell class file namespace App\Shell; use Cake\Console\Shell; use App\Controller\UsersController; class HelloShell extends Shell { public function main() { $userinfo=new UsersController(); $data=$userinfo->useremail(); $this->out($data); } } 回答1: I assume you are using

Fatal error: Class 'PEAR' not found in /home/user1/public_html/go-pear.php on line 697

。_饼干妹妹 提交于 2019-12-18 04:53:24
问题 When trying to install PEAR by running go-pear.php (from the root of a cPanel GoDaddy hosted account), I get the following error: Starting installation ... Loading zlib: ok Bootstrapping Installer................... Bootstrapping PEAR5.php............(remote) ok Bootstrapping PEAR.php............(remote) ok Bootstrapping Archive/Tar.php............(remote) ok Bootstrapping Console/Getopt.php............(remote) ok Fatal error : Class 'PEAR' not found in /home/alessio1/public_html/go-pear.php