Hello,
I have read through this entire thread and all the included instructions and the official wordpress instructions without luck.
I am attempting to install the wordpress addon to a fresh, local 1.3.7 Zen Cart installation (using EasyPHP on my computer and my Zen Cart installation works excellent)
Anyways, here's what I have tried and failed with...
1. Uploaded(minus index.php) WordPress 2.2 into the Zen Cart root dir.
2. created seperate database in phpmyadmin
3. edited /ROOT/wp-config-sample.php to reflect database info and changed it to wp-config.php and left it in root folder
3. Uploaded ZC_ROOT into Zen Cart root dir
4. Commented out "return" in wp-include/template-loader.php
5. (includes/extra_configures/wordpress-config.txt to wordpress-config.php) this didn't need to be done.
6. ran wp-admin/install.php in browser - the installation doesn't seem to work at all -
the database I created remains empty and
I keep getting the following page after running the install...
click here for a pic of the error page
here are the details of my wp-config.php files for both the root folder and the includes/extra_configures folder
the root folder...
the extra configures folder...Code:<?php // ** MySQL settings ** // define('DB_NAME', 'mafiasam_wordpress'); // The name of the database define('DB_USER', 'mafiasam'); // Your MySQL username define('DB_PASSWORD', '*******'); // ...and password define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value define('DB_CHARSET', 'utf8'); define('DB_COLLATE', ''); // You can have multiple installations in one database if you give each a unique prefix $table_prefix = 'wp_'; // Only numbers, letters, and underscores please! // Change this to localize WordPress. A corresponding MO file for the // chosen language must be installed to wp-content/languages. // For example, install de.mo to wp-content/languages and set WPLANG to 'de' // to enable German language support. define ('WPLANG', ''); /* That's all, stop editing! Happy blogging. */ define('ABSPATH', dirname(__FILE__).'/'); require_once(ABSPATH.'wp-settings.php'); ?>
and I guess that should be enough information to hang me, lol.Code:<?php // // wordpress on zencart by http://www.s-page.net/ // define ('ABSPATH','/'); $woz_install=0; if (file_exists(ABSPATH.'wp-config.php')) { $woz_install=1; define('WP_USE_THEMES', true); $wp_did_header = true; require_once(ABSPATH.'wp-config.php'); $i=strlen(DIR_WS_CATALOG); $req=substr($_SERVER['REQUEST_URI'],$i,1); if($req=='?'){ $_GET['main_page']='wordpress'; } if(isset($_GET['feed'])){ wp(); gzip_compression(); // require_once('./wp-includes/template-loader.php'); require_once(ABSPATH . WPINC . '/template-loader.php'); exit(); } } ?>
Does anyone have any advice?
thanks in advance
mafiasam
Bookmarks