I just sent an email regarding setup.php giving error : Parse error:
syntax error, unexpected '=', expecting '(' in /usr/www/oma/setup.php
on line 85
My system is Debian Etch with following packages. Plz help solving
this problem.
-Azher
----------------------------------------------
wm:/usr/www/pa# dpkg -l |grep php
ii libapache-mod-php4 4.4.4-8+etch1
server-side, HTML-embedded scripting languag
ii libapache2-mod-php4 4.4.4-8+etch1
server-side, HTML-embedded scripting languag
ii php-db 1.7.6-2
PHP PEAR Database Abstraction Layer
ii php-http 1.3.6-2
PHP PEAR module for HTTP related stuff
ii php-mail 1.1.6-2
PHP PEAR module for sending email
ii php-net-smtp 1.2.6-2
PHP PEAR module implementing SMTP protocol
ii php-net-socket 1.0.6-2
PHP PEAR Network Socket Interface module
ii php-pear 5.2.0-8+etch1
PEAR - PHP Extension and Application Reposit
ii php-xml-parser 1.2.6-2
PHP PEAR module for parsing XML
ii php4-cli 4.4.4-8+etch1
command-line interpreter for the php4 script
ii php4-common 4.4.4-8+etch1
Common files for packages built from the php
ii php4-ldap 4.4.4-8+etch1
LDAP module for php4
ii php4-mysql 4.4.4-8+etch1
MySQL module for php4
ii php4-odbc 4.4.4-8+etch1
ODBC module for php4
ii php4-pear 4.4.4-8+etch1
PHP Extension and Application Repository (tr
ii php5-cli 5.2.0-8+etch1
command-line interpreter for the php5 script
ii php5-common 5.2.0-8+etch1
Common files for packages built from the php
----------------------
wm:/usr/www/pa# dpkg -l |grep mysql
ii libdbd-mysql-perl 3.0008-1
A Perl5 database interface to the MySQL data
ii libmysqlclient15-dev 5.0.32-7etch1
mysql database development files
ii libmysqlclient15off 5.0.32-7etch1
mysql database client library
ii libpam-mysql 0.6.2-1
PAM module allowing authentication from a My
ii mysql-client-5.0 5.0.32-7etch1
mysql database client binaries
ii mysql-common 5.0.32-7etch1
mysql database common files (e.g. /etc/mysql
ii mysql-server-4.1 5.0.32-7etch1
mysql database server (transitional package)
ii mysql-server-5.0 5.0.32-7etch1
mysql database server binaries
ii php4-mysql 4.4.4-8+etch1
MySQL module for php4
------------------------
To be honest, I don't know what caused that error at your installation.
In line 85 is only a trivial assignment, which has been there for
months, and the statements the lines above it are not new, too.
Can it be that you use PHP4?
-- Mark
I just checked my installations again and found that infact i had php4,
while this software requires php5. Now I able to see the setup.php page.
However after entering data in Page 2, when i click 'proceed to step-3'
it gives the following error:
*Fatal error*: Call to undefined function txt() in
*/usr/www/oma/inc/lib/User.php* on line *23*
Can you plz guide what this problem relates to.
Thnx
-Azher
W-Mark Kubacki wrote:
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
That's interesting. What PostgreSQL, ADOdb (and ADOdb-ext?) version do you use?
I am going to either write a patch or, if it is a bug in ADOdb, puzzling about
an efficient woraround.
> after these changes, postgres can create correctly the tables and you
> can install openmailadmin
>
> On 5 Abr 2007, 06:22, Azher Amin <az...@niit.edu.pk> wrote:
>> [...]
>> However after entering data in Page 2, when i click 'proceed to step-3'
>> it gives the following error:
>>
>> *Fatal error*:Calltoundefinedfunctiontxt() in
>> */usr/www/oma/inc/lib/User.php* on line *23*
>> [...]