1
swamisteve
database update/create not working?
  • 2004/8/25 16:45

  • swamisteve

  • Just popping in

  • Posts: 1

  • Since: 2004/8/19


Hi,

I installed the following:

Apache 2.0
PHP 5.x
MySQL 4.0

I then installed XOOPS 2.0.7. I setup a database and XOOPS was able to successfully create all tables using the user information I provided. XOOPS installed itself.

Next, I got an error and found out this had to do with a clone() function in XOOPS, which is invalid in PHP5 because clone is a reserved word. So I renamed that function and also renamed references to it as suggested in an email from another user.

Now I have my new problem. When I try to install modules (eg: forums) and create/edit users, I get an error, but no error information.

I decided to go to the preferences and update the debug level, but this also didn't work. It seems that I am not able to update the database and that seems to the source of all my problems.

I was able to go to the database from the command line and I checked the tables. I even went to the admin user and changed its real name so that I could show that XOOPS was reading from the database correctly.

The odd thing is that the userid i am connecting to the database with is the same one I am using on the command line. So I have no idea why I cannot update the database.

Ideally I would like to avoid having to go down to PHP4, so that is really the last option I would like to try.

If anyone has encountered this problem, or has suggestions, however, I would appreciate your input.

Thanks,
Steve

2
tjnemez
Re: database update/create not working?
  • 2004/8/25 18:19

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


do a search for posts regarding php5

3
jcarpentier
Re: database update/create not working?
  • 2004/8/25 18:53

  • jcarpentier

  • Just popping in

  • Posts: 4

  • Since: 2004/6/21


In order to get them to install you'll need to wrap strtolower() around get_class in all of the kernel files. That's as far as I've gotten in getting the CMS to work on PHP5. Updating system like the patch for 2.0.7.1 says gives me a "page cannot be displayed" error.

Login

Who's Online

136 user(s) are online (85 user(s) are browsing Support Forums)


Members: 0


Guests: 136


more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: Jun 30
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!

Latest GitHub Commits