chrometweaks.org

Help with connecting to iPage MySql database via PHP code.?

Click Here To View All Answers...


My first question is Help with connecting to iPage MySql database via PHP code.? Looking forward for any answer or 2. 2nd question I got is.. If I click on install in the Paymentmodules section he reloads the iPage site but there has been nothing installed! The same thing happens with the other modules..

Can smb help me?..

Comments (108)

Hmm... I need to find out myself. I don't know what is the answer to that question. I'll do some research in Google and get back to you if I got an useful answer. You should email the people at iPage as they probably could give you an answer..

Comment #1

I think the paths are correct..

Here is an screenshot (its a german version, but the path is english):..

Comment #2

I meant the admin/includes/configure.php as the paths in this file also reference the catalog.

Ich bedeutete das admin/includes/configure.php, wie die Wege in dieser Akte auch den Katalog beziehen..

Comment #3

But the paths are showing to catalog/include/modules.

Is this not right?..

Comment #4

Kein Problem, habe ich dieses auf einigen occassions jede Zeit geregelt, die das Problem in den admin/includes/configure.php Wegen war..

Wenn Sie Ihre admin/includes/configure.php Akte xxx aus den Datenbankinformationen bekanntgeben, nehme ich einen Blick an ihm fr Sie..

Comment #5

Please write in english. I dont understand this german...

Comment #6

No problem, I have fixed this on several occassions each time the problem was in the admin/includes/configure.php paths..

If you post your admin/includes/configure.php file xxx out the database information I will take a look at it for you.

Ps. is it my german grammar that is incorrect..

Comment #7

This is my configure.php:.

// define our webserver variables.

// FS = Filesystem (physical).

// WS = Webserver (virtual).

 define('HTTP_SERVER', 'http://XXXXXXXXXXXXX.de'); // eg, http://localhost or - https://localhost should not be NULL for productive servers.

 define('HTTP_CATALOG_SERVER', 'http://XXXXXXXXXXXXX.de');.

 define('HTTPS_CATALOG_SERVER', 'https://XXXXXXXXXXXXX.de');.

 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module.

 define('DIR_FS_DOCUMENT_ROOT', '/home/virtual/site26/fst/var/www/html/'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs).

 define('DIR_WS_ADMIN', '/adminbereich/');.

 define('DIR_FS_ADMIN', 'http://XXXXXXXXXXXXX.de'DIR_WS_ADMIN);.

 define('DIR_WS_CATALOG', '/');.

 define('DIR_FS_CATALOG', 'http://XXXXXXXXXXXXX.de'DIR_WS_CATALOG);.

 define('DIR_WS_IMAGES', 'images/');.

 define('DIR_WS_ICONS', DIR_WS_IMAGES'icons/');.

 define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG'images/');.

 define('DIR_WS_INCLUDES', 'includes/');.

 define('DIR_WS_BOXES', DIR_WS_INCLUDES'boxes/');.

 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES'functions/');.

 define('DIR_WS_CLASSES', DIR_WS_INCLUDES'classes/');.

 define('DIR_WS_MODULES', DIR_WS_INCLUDES'modules/');.

 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES'languages/');.

 define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG'includes/languages/');.

 define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG'includes/languages/');.

 define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG'images/');.

 define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG'includes/modules/');.

 define('DIR_FS_BACKUP', DIR_FS_ADMIN'backups/');.

 define('DIR_WS_FLAGS', DIR_WS_IMAGES'flags/');.

 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers.

 define('DB_SERVER_USERNAME', 'XXXXXXXXXXXXX');.

 define('DB_SERVER_PASSWORD', 'XXXXXXXXXXXXX');.

 define('DB_DATABASE', 'XXXXXXXXXXXXX');.

 define('USE_PCONNECT', 'true'); // use persistent connections?.

 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'..

Comment #8

Hi.. I'm having the same problem.

This is the config file out of my admin folder.

// Define the webserver and path parameters.

// * DIR_FS_* = Filesystem directories (local/physical).

// * DIR_WS_* = Webserver directories (virtual/URL).

Define('HTTP_SERVER', 'http://pfaflare.com'); // eg,.

Http://localhost.

- should not be empty for productive servers.

Define('HTTP_CATALOG_SERVER', 'http://www.pfaflare.com');.

Define('HTTPS_CATALOG_SERVER', 'http://www.pfaflare.com');.

Define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module.

Define('DIR_FS_DOCUMENT_ROOT', '/home/users/uks08485/html/pfaflare.com/oscommerce-2.2ms2/catalog/'); // where the pages are located on the server.

Define('DIR_WS_ADMIN', '/home/users/uks08485/html/pfaflare.com/oscommerce-2.2ms2/catalog/admin/'); // absolute path required.

Define('DIR_FS_ADMIN', 'http://www.pfaflare.com/oscommerce-2.2ms2/catalog/admin/'); // absolute pate required.

Define('DIR_WS_CATALOG', '/oscommerce-2.2ms2/catalog/'); // absolute path required.

Define('DIR_FS_CATALOG', '/home/users/uks08485/html/pfaflare.com/oscommerce-2.2ms2/catalog/'); // absolute path required.

Define('DIR_WS_IMAGES', 'images/');.

Define('DIR_WS_ICONS', DIR_WS_IMAGES'icons/');.

Define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG'images/');.

Define('DIR_WS_INCLUDES', 'includes/');.

Define('DIR_WS_BOXES', DIR_WS_INCLUDES'boxes/');.

Define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES'functions/');.

Define('DIR_WS_CLASSES', DIR_WS_INCLUDES'classes/');.

Define('DIR_WS_MODULES', DIR_WS_INCLUDES'modules/');.

Define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES'languages/');.

Define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG'languages/');.

Define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG'http://www.pfaflare.com/oscommerce-2.2ms2/catalog/includes/languages/');.

Define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG'images/');.

Define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG'modules/');.

Define('DIR_FS_BACKUP', DIR_FS_ADMIN'backups');.

// define our database connection.

Define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers.

Define('DB_SERVER_USERNAME', '********');.

Define('DB_SERVER_PASSWORD', '********');.

Define('DB_DATABASE', 'uks08485test');.

Define('USE_PCONNECT', 'true'); // use persisstent connections?.

Define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'.

Also when I go to the orders page I can only see one??? any ideas?..

Comment #9

Technojunkie.

// Define the webserver and path parameters.

// * DIR_FS_* = Filesystem directories (local/physical).

// * DIR_WS_* = Webserver directories (virtual/URL).

Define('HTTP_SERVER', 'http://pfaflare.com'); // eg, http://localhost - should not be empty for productive servers.

Define('HTTP_CATALOG_SERVER', 'http://www.pfaflare.com');.

Define('HTTPS_CATALOG_SERVER', 'http://www.pfaflare.com');.

Define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module.

Define('DIR_FS_DOCUMENT_ROOT', '/home/users/uks08485/html/pfaflare.com/oscommerce-2.2ms2/catalog/'); // where the pages are located on the server.

Define('DIR_WS_ADMIN', '/oscommerce-2.2ms2/catalog/admin/'); // absolute path required.

Define('DIR_FS_ADMIN', '/home/users/uks08485/html/pfaflare.com/oscommerce-2.2ms2/catalog/admin/'); // absolute pate required.

Define('DIR_WS_CATALOG', '/oscommerce-2.2ms2/catalog/'); // absolute path required.

Define('DIR_FS_CATALOG', '/home/users/uks08485/html/pfaflare.com/oscommerce-2.2ms2/catalog/'); // absolute path required.

Define('DIR_WS_IMAGES', 'images/');.

Define('DIR_WS_ICONS', DIR_WS_IMAGES'icons/');.

Define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG'images/');.

Define('DIR_WS_INCLUDES', 'includes/');.

Define('DIR_WS_BOXES', DIR_WS_INCLUDES'boxes/');.

Define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES'functions/');.

Define('DIR_WS_CLASSES', DIR_WS_INCLUDES'classes/');.

Define('DIR_WS_MODULES', DIR_WS_INCLUDES'modules/');.

Define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES'languages/');.

Define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG'includes/languages/');.

Define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG'includes/languages/');.

Define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG'images/');.

Define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG'includes/modules/');.

Define('DIR_FS_BACKUP', DIR_FS_ADMIN'backups');.

// define our database connection.

Define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers.

Define('DB_SERVER_USERNAME', '********');.

Define('DB_SERVER_PASSWORD', '********');.

Define('DB_DATABASE', 'uks08485test');.

Define('USE_PCONNECT', 'true'); // use persisstent connections?.

Define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'.

Something like this..

Comment #10

If I click on install in the Paymentmodules section he reloads the iPage site but there has been nothing installed! The same thing happens with the other modules..

Can smb help me?..

Comment #11

Check your paths in your configure.php files more so the admin one..

Comment #12


This question was taken from a support group/message board and re-posted here so others can learn from it.