Closed

Fix php errors in whmcs hook

Hi,

I have a script that automatically installs a website when a cpanel account is created in whmcs.

It was working in PHP 5, but stopped working after upgrading to PHP 7.

The following errors are written to the log file:

PHP Warning [2] ftp_put() expects parameter 1 to be resource, null given on line 677 in file /home/avant/public_html/clients/includes/hooks/kits/[login to view URL]

- Error uploading files via FTP! - ID: '$ftp_handle' - Destination: public_html/[login to view URL] - Source: [login to view URL] - Mode: 2

PHP Warning [2] preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead on line 1559 in file /home/avant/public_html/clients/includes/hooks/kits/[login to view URL]

PHP Warning [2] preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead on line 1560 in file /home/avant/public_html/clients/includes/hooks/kits/[login to view URL]

I need to get this working again please.

I have uploaded a copy of the file that is giving the errors.

Regards,

Luke

Taidot: HTML, MySQL, PHP, tietojärjestelmäarkkitehtuuri, WHMCS

Näytä lisää: Hi, I\ ve just joined this site to begin new life as a freelancer. I am an qualified PHP/MySQL/JS developer of 8 years of experi, php id 1, http www mof gov bd en index php option comcontent&view article&id 225&itemid 1, php, whmcs, fix php errors freelancer, script fix php errors, fix php errors mediafire, need someone fix php script, common php errors fix, fix php errors online, online test fix programming errors php, fix php script problems internet explorer, software fix php parse errors, program find fix php errors, fix php coding errors cross site scripting, fix php errors, fix php script errors wordpress, fix php script, fix images errors

Tietoa työnantajasta:
( 7 arvostelua ) Billinudgel, Australia

Projektin tunnus: #17370423

22 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

devikagupta

hello sir, i can do your project.... please accept my bid so that i can start it... i m expert in this type of project... u can also see my portfolio... please sir accept my bid.. please hope u will do i m waiting f Lisää

$25 AUD 0 päivässä
(516 arvostelua)
7.1
mahander2012

Hello Sir/Madam, I have 7 years of experience in WHMCS development, let me know if you want to use my services. Regards, Mahander Relevant Skills and Experience whmcs, php Proposed Milestones $30 AUD - Development Lisää

$30 AUD 1 päivässä
(131 arvostelua)
6.9
$30 AUD 1 päivässä
(254 arvostelua)
6.6
$25 AUD 1 päivässä
(187 arvostelua)
6.7
shayona163

hello sir i am expert in HTML, MySQL, PHP, Software Architecture, WHMCS i am able to do this work you will satisfy with my work i can do this work asap thank you Relevant Skills and Experience hello sir i am expert i Lisää

$30 AUD 0 päivässä
(123 arvostelua)
6.3
meenusofat

I'm expert whmcs programmer.I have read your job description and confident about fix the error. I am ready to start work straight away and provide you error code as well Stay tuned, I'm still working on this proposa Lisää

$25 AUD 1 päivässä
(23 arvostelua)
4.9
$23 AUD 1 päivässä
(29 arvostelua)
5.0
$15 AUD 0 päivässä
(30 arvostelua)
5.5
royalrandhawa

Fixing Of Script to make it able to run in php 7.x with all older functionality Relevant Skills and Experience Core php, sql, apache, nginx, centos, linux Proposed Milestones $30 AUD - Milestone

$30 AUD 1 päivässä
(24 arvostelua)
4.4
developersperhr

I am expert in PHP, CI and Laravel.I have created ecommerce and job portal website in these [login to view URL] check previous work [login to view URL] Relevant Skills and Experience [login to view URL] https: Lisää

$35 AUD 1 päivässä
(17 arvostelua)
4.3
rrgamit

I am having experience from past 4+ years & completed 120+ projects in PHP development. I can easily achieve the results that you are asking for. Looking forward to your end. Thanks Relevant Skills and Experience Rel Lisää

$25 AUD 1 päivässä
(39 arvostelua)
4.2
anuragr1983

Some functions have been depreciated in PHP 7. I will replace them with new function introduced in newer version. Relevant Skills and Experience I have more than 10 years experience in PHP including 5 years experience Lisää

$30 AUD 1 päivässä
(9 arvostelua)
4.1
nishantjain21

PHP Relevant Skills and Experience I am having a group of people that are expert in PHP,Wordpress,HTML5,[login to view URL] can do your task elegantly and efficiently within the time period. Proposed Milestones $35 AUD - Develop Lisää

$35 AUD 1 päivässä
(10 arvostelua)
4.2
QasirAbbas

Hey sir i can do this work as i am a custom PHP plus WordPress expert having an experience of 3 years. I can help you achieve this task as i have done similar tasks before and can do this work Relevant Skills and Expe Lisää

$20 AUD 0 päivässä
(13 arvostelua)
3.7
allin1seo

Hi there, as its a WHMCS and you have upgraded to php 7 your modules stoped working because of ioncubeloader. I can get this fixed Relevant Skills and Experience i am a WHMCS expert in modules and PHP Proposed Milest Lisää

$25 AUD 1 päivässä
(14 arvostelua)
3.4
$25 AUD 1 päivässä
(1 arvostelu)
1.4
chotuactive

WHMCS is not working due to PHP version upgrade. Need to check and solve the issue so Cpanel account creation automation will work Relevant Skills and Experience WHMCS WHM/CPANEL Proposed Milestones $40 AUD - Solvi Lisää

$40 AUD 1 päivässä
(2 arvostelua)
1.0
MMAtechnology

We are expert in PHP , and we can solve the issue Relevant Skills and Experience our core business is to add value to the customer Proposed Milestones $35 AUD - handover

$35 AUD 1 päivässä
(1 arvostelu)
0.0
$25 AUD 1 päivässä
(0 arvostelua)
0.0
$25 AUD 1 päivässä
(0 arvostelua)
0.0