EZPDO User Forums

An Object-Relational Mapping and Data Persistence Solution for PHP

You are not logged in.

#1 2007-12-29 19:23:59

pafi
EZPDO Member
Registered: 2007-12-29
Posts: 2

installation problem

Hi (I'm french so sorry for my english),

I'm new to ezpdo but I just want to say that's it's really awesome !
Ok, so I've developed everything in local (easy-php), and everything works fine, but my problem is that I want to copy everything I've done online.
So I open my favorite ftp program, and just drag & drop all my project on a server that uses php5 (here are the info of php5 on the server http://php5info.celeonet.fr/).
I have, of course, edit the config.ini :
default_dsn = mysql://login:pass@mysql8.celeonet.fr/myDB
And online, nothing seems to work...I have just an error :
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in ezpdo_runtime.php on line 43.
Line 43 is :  epManager::instance()->autoload($class_name);

I really don't understand what is going on. If someone can explain me or trying to help me it will be appreciable.

Thanks a lot !

Offline

 

#2 2007-12-31 19:05:46

odpze
EZPDO Enthusiast
Registered: 2005-04-25
Posts: 68

Re: installation problem

my guess is that you need to remove the compiled file (by default, it is compiled.ezpdo) so ezpdo can recompile all the classes and generate the proper or mapping. also you may want to make sure your the source dir for the classes in your config file is also correct. -o

Offline

 

#3 2008-01-03 11:43:37

pafi
EZPDO Member
Registered: 2007-12-29
Posts: 2

Re: installation problem

Thanks a lot for your answer.
I did what you told me but nothings changes. I have always the same error.
I delete the compiled file, and try to chmod 777 the rep.
If you have another idea it would be great :)
Thanks !

Offline

 

#4 2008-07-29 11:07:17

jroumagnac
EZPDO Member
Registered: 2008-07-29
Posts: 1

Re: installation problem

I had exactly the same problem until I realized I was using PHP 4...

"EZPDO requires PHP 5.0.4 or up with extensions tokenizer, xml, sipmlexml, sqlite, and mysql (optional) enabled. Except mysql (optional), all the extensions are enabled by default in PHP 5."

Offline

 

#5 2009-02-08 03:48:51

cassandra_31
EZPDO Member
Registered: 2009-02-06
Posts: 3

Re: installation problem

Yes,maybe it has something to do with jroumagnac idea and checking.Try to check if you are also using the require PHP 5.0.4 for EZPDO.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

Sponsors