1
gestroud
Updating Current WordPress Module to WP 2.1
  • 2007/2/15 22:52

  • gestroud

  • Home away from home

  • Posts: 1538

  • Since: 2004/12/22


I'm trying to upgrade the XOOPS wordpress module to WordPress 2.1. The module currently uses WP 2.05 which has security vunerabilities.

Followed all of the instructions in the modules readme.html for about upgrading. Backed everything up, deleted the old wp-related files, kept wp-config.php and the xoops-related files, and uploaded the new 2.1 files.

When I went to update the module in XOOPS module admin, I got this message:

Quote:
Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.

Are you sure you have the correct username and password?
Are you sure that you have typed the correct hostname?
Are you sure that the database server is running?
If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.


The XOOPS version of WP uses a different wp-config set up than WordPress' version. Databasename, host, username, etc are all drawn from XOOPS in the former. The latter requires you to fill the information in manually.

I took a chance and edited the required entries including the language set to "en."

Now I get:

Quote:
Fatal error: Call to undefined function: wp_blog_charset() in /homepages/10/xx/htdocs/ xx/modules/wordpress/include/module.php on line 166


All of the latest extra files required are installed (Frameworks, the extra XOOPS22 files for users of XOOPS 2.2.4 and the necessary text editor folder).

The module appears in the module admin section.

The module does not appear in the Main Menu or in the Preferences section.

So, my questions are:

1. Is it possible to upgrade this module to the latest version of WordPress? It is according to the instructions given:

Quote:

1. Delete your old WP files, saving ones you've modified
2. Upload the new files
3. Update "wordpress" as a usual module
4. Set permissions, blocks and configs
5. Clear cache/wordpress if your users are not allowed to 6. submit blog
That's it!


2. Are the instructions complete? WP 2.1 has a drastically new architecture, but I experienced the same problems when I tried to update the XOOPS 2.04 and 2.05 versions to WP 2.07. But the instructions work the same even if you're upgrading a non-XOOPS version of WP.


XOOPS 2.2.4
Apache/1.3.33 (Unix)
PHP 4.4.4
MySQL 4.0.27

This is on a hosted server, so I have no control over the environment. The host is already planning upgrades, so there is no need for me to change to another host.

I can easily roll the 2.1 version back to XOOPS' 2.05 version, but I'd really like to have the latest version installed for a few reasons. The combination of WP and XOOPS makes a pretty formidable web site.

Any help would be appreciated.

gestroud

2
JMorris
Re: Updating Current WordPress Module to WP 2.1
  • 2007/2/16 1:42

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


I wish I could answer your questions, but unfortunately, this is something that has been pressing on my mind as well. I've been intending to dig into how Wordpress was "hacked" into XOOPS, but have not had the time to. Also, phppp's latest version is a modified version of Wordpress.

I'm planning on taking a look at how this module is integrated, but it's going to be some time before I'll be able to. Is there anyone who is willing to tackle this challenge for those of us who don't want the multi-blog functionality of the module provided by phppp?
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

Login

Who's Online

371 user(s) are online (274 user(s) are browsing Support Forums)


Members: 0


Guests: 371


more...

Donat-O-Meter

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

Latest GitHub Commits