DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Problem with coding on site  (Read 4,172 times)

nleric

  • Participant
  • Joined in 2007
  • *
  • Posts: 2
Problem with coding on site
« on: August 24, 2007, 03:25 PM »
Hi,
I a mtrying to put a web site together, I am learning as I go along, my knowledge is zero of HTML and PHP etc., on the site I keep getting the following error, can anyone tell me what it means and how I can fix it?
Thanks,
Noel

Warning: array_values() [function.array-values]: The argument should be an array in /home/nleric/public_html/wiiinfo/datas/persobanner_center.php on line 35

Warning: array_values() [function.array-values]: The argument should be an array in /home/nleric/public_html/wiiinfo/datas/persobanner_center.php on line 35

Warning: array_values() [function.array-values]: The argument should be an array in /home/nleric/public_html/wiiinfo/datas/persobanner_center.php on line 35

Warning: array_values() [function.array-values]: The argument should be an array in /home/nleric/public_html/wiiinfo/datas/persobanner_center.php on line 35

Warning: array_values() [function.array-values]: The argument should be an array in /home/nleric/public_html/wiiinfo/datas/persobanner_center.php on line

Renegade

  • Tell me something you don't know...
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,291
    • Participated in NANY Challenge Three Times
    • Furry Fandom Badge - Furry Fandom
    • Linux User
Re: Problem with coding on site
« Reply #1 on: August 24, 2007, 03:38 PM »
The problem is that you have zero knowledge of HTML or PHP... Ok - That was just mean... :( Bad me... Bad me... (Couldn't resist it though.)

The error message is meaningless without code to look at. You'd need to post that for anyone to give you an answer.
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

justice

  • Solve issues simply.
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • Participated in NANY Challenge Four Times
    • Cody Award
    • Coding Snacks
    • DJ Badge - DJ
Re: Problem with coding on site
« Reply #2 on: August 24, 2007, 03:45 PM »
on line 35 of said page, you are using a function that's meant for arrays. array("a","b","c"); Either you're passing that function a string, or you're not passing anything at all because the array is empty.

If its not your code then the person who made it has not put in enough error checking. You should get support from that person.

nleric

  • Participant
  • Joined in 2007
  • *
  • Posts: 2
Re: Problem with coding on site
« Reply #3 on: August 24, 2007, 06:15 PM »
ok, thanks for the replies
regards,
Noel

Original address: https://www.donationcoder.com/forum/index.php?topic=9703.0