. - Webmasters - Nairaland
Nairaland Forum › Science/Technology › Webmasters › . (948 Views)
| . by fineboynl(op): 8:48am On Jul 02, 2020*. Modified: 6:45pm On Jul 10, 2020 |
. |
| Re: . by hollyfat(m): 9:47am On Jul 02, 2020 |
Your PHP version does not support the way the array was declared Try this instead $this->db->update('xc_site_settings', array('value' => strip_tags($this->db->escape_str($this->input->post('site_name')))), array('config_key' => 'site_name')); |
| Re: . by stanliwise(m): 10:17am On Jul 02, 2020 |
fineboynl:What version of PHP are you using? |
| Re: . by fineboynl(op): 11:16am On Jul 02, 2020 |
stanliwise:5.3 and 5.5 |
| Re: . by stanliwise(m): 11:48am On Jul 02, 2020 |
fineboynl:make an upgrade. That syntax wasn’t written to run with that version. I don’t want to give you the advise the other guy gave you, you make break your codes. |
| Re: . by power2000: 1:41pm On Jul 02, 2020 |
fineboynl:chat me up for further details on 0-8-0-5-4-8-2-6-9-8-6 |
| Re: . by fineboynl(op): 6:16pm On Jul 02, 2020 |
stanliwise:the script doesn't run from 5.6 above. just below that. |
| Re: . by fineboynl(op): 6:17pm On Jul 02, 2020 |
hollyfat:let me try I wil get back to you. if it works Airtime for you |
| Re: . by explorer250(m): 7:15pm On Jul 02, 2020 |
fineboynl:make una learn to code. stop buying scripts you can't manage |
| Re: . by fineboynl(op): 8:07pm On Jul 02, 2020 |
hollyfat:although there was still many errors from [], but i manage to use the same array() to solved it all. paste your number here, i want to send you airtime. i have not had a good sleep since this week. today is going to be good night sleep |
| Re: . by stanliwise(m): 8:15pm On Jul 02, 2020 |
fineboynl:I am finding this hard to believe, that array syntax is supported by new PHP version. You may need to reinstall your PHP or you messed up with settings. array(); was the original PHP syntax but a new syntax was [] declaration. It was introduced in PHP 5.4 And when I requested your PHP version you said 5.3 and 5.5. Both interpreters cannot be working same time. Set the 5.5 as default interpreter. I still advise to not to modify your code yet, you may break things if you weren’t the one who codes it. |
| Re: . by explorer250(m): 8:32pm On Jul 02, 2020 |
fineboynl:bro no mind me, na joke I dey |
| Re: . by fineboynl(op): 8:51pm On Jul 02, 2020 |
stanliwise:oh, i tested it on 5.5 and 5.6. i move to 5.3. all the same isssues. it has been fixed with the array() all the parts that i encountered error. i use it to change. now working |
| Re: . by stanliwise(m): 8:59pm On Jul 02, 2020 |
fineboynl:ok cool |
| Re: . by fineboynl(op): 8:48pm On Jul 04, 2020*. Modified: 7:13pm On Jul 05, 2020 |
. |
| Re: . by fineboynl(op): 6:02pm On Jul 05, 2020*. Modified: 6:46pm On Jul 10, 2020 |
. |
“Hey” You Can't Make Any Excuses Again..... It Can't Get Any Easier Than This... • To Share The Amazing Website You Have Encountered • Is Facebook Ads Via Naira Cards Still Working ? ( Problem Encountered) • 2 • 3 • 4
Competent Webmaster,get E-business Management Globalcertification Without Stress • The Simplest Way To Lower Cost Of Your Medication • Re: Nigeria's First Consumer Review Site - Revamped