Error: Array in line 1 Error: Array in line 1
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Error: Array in line 1

Started by Dracocid, December 25, 2004, 04:10:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dracocid

Hello:
When I want to install the coppermine in my server, I complete all the dates about user, pass, name of db... But I receive a faillure that say: mySQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Array' at line 1

I have tried with the version 1,2, 1,21.... All give me this fail.

What can I do?

Many thanks.

Hein Traag

Did you try installing the latest stable version of cpg. Also check if your running the latest php and zend versions.

kegobeer

You need to check with your webhost and make sure when they upgraded php that they also upgraded their Zend optimizer to 2.5.7.  If you search for your error you will find related posts.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Dracocid

First, thanks by the help...

My webhost says me that the phpMyAdmin is 2.6.0-alpha2 and the MySQL is 4.1.7-standard

Some solution?


kegobeer

phpmyadmin and mysql versions aren't the issue.  We need to know what version of php you are running, and what version of the Zend optimizer you have.  You can ask your host for that information, or make a php script with this in it:

<?php
phpinfo();
?>

Upload it to your site and execute it.  Look for the php version and zend version.  If your php version is 4.3.10, you must have zend 2.5.7, otherwise Coppermine won't run.  Your host has to upgrade Zend - they should already know that.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

NEOo

#5
I have the same problem it has worked always until yesterday I get the array in line 1 error when I do the install again

Versions:
php:
PHP Version 4.3.10
Mysql:
Client API version  3.23.49

The full array 1 error:
mySQL Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'Array' at line 1

In the photoalbum I get this error:
There was an error while processing a database query

I think the problem lays in the database somehow.
So maybe this can help to solve our problems

Joachim Müller

NEOo, you have to learn to use some common sense. You have been told to respect board rules:
1) Don't double-post nor cross-post
2) Search before posting
3) Don't PM supporters

This is an official warning, you'll get banned if you don't play by the rules!

Joachim

NEOo

im sorry didnt know that all.
sorry

but i know the anwser now, the zend optimizer has to be upgraded than it all will work fine again..