₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,327,004 members, 8,428,987 topics. Date: Thursday, 18 June 2026 at 10:13 AM

Toggle theme

. - Webmasters - Nairaland

Nairaland ForumScience/TechnologyWebmasters. (951 Views)

1 Reply (Go Down)

. by fineboynl(op):
.
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:
here is the line,



here is the part
What version of PHP are you using?
Re: . by fineboynl(op): 11:16am On Jul 02, 2020
stanliwise:
What version of PHP are you using?
5.3 and 5.5
Re: . by stanliwise(m): 11:48am On Jul 02, 2020
fineboynl:
5.3 and 5.5
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:
Parse error: syntax error, unexpected '[' in /home/u814429204/domains/multisafefinanceinvestment.com/public_html/application/controllers/Update.php on line 65

A PHP Error was encountered

Severity: Parsing Error

Message: syntax error, unexpected '['

Filename: controllers/Update.php

Line Number: 65



Backtrace:



here is the line,



here is the part
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:
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.
the script doesn't run from 5.6 above. just below that.
Re: . by fineboynl(op): 6:17pm On Jul 02, 2020
hollyfat:
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'));
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:
the script doesn't run from 5.6 above. just below that.
make una learn to code. stop buying scripts you can't manage
Re: . by fineboynl(op): 8:07pm On Jul 02, 2020
hollyfat:
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'));
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:
the script doesn't run from 5.6 above. just below that.
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:
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
bro no mind me, na joke I dey
Re: . by fineboynl(op): 8:51pm On Jul 02, 2020
stanliwise:
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.
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:
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
ok cool
Re: . by fineboynl(op):
.
Re: . by fineboynl(op):
.
1 Reply

“Hey” You Can't Make Any Excuses Again..... It Can't Get Any Easier Than This...To Share The Amazing Website You Have EncounteredIs Facebook Ads Via Naira Cards Still Working ? ( Problem Encountered)234

Can I Blog With A 2gram, 16 SSD Laptop?I Cannot Access My Websites On WHOGOHOST.Have You Ever Received A Google Adsense Cheque?