Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,209,076 members, 8,004,808 topics. Date: Sunday, 17 November 2024 at 07:40 AM

. - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / . (709 Views)

“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)

(1) (Reply) (Go Down)

. by fineboynl(m): 8:48am On Jul 02, 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'));

1 Like

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(m): 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(m): 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(m): 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(m): 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(m): 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(m): 8:48pm On Jul 04, 2020
.
Re: . by fineboynl(m): 6:02pm On Jul 05, 2020
.

(1) (Reply)

. / X / We Need Moving Services From Calgary

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 18
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.