Jump to content

king's Content

There have been 8 items by king (Search limited from 14-May 20)


Sort by                Order  

#25097 Cannot connect to db

Posted by king on 05 December 2007 - 12:02 PM in v1.x Installation & Upgrade

Warning: Invalid argument supplied for foreach() in /home/content/a/l/i/alisond/html/core/include_addons.php on line 45

Warning: Cannot modify header information - headers already sent by (output started at /home/content/a/l/i/alisond/html/core/include_addons.php:45) in /home/content/a/l/i/alisond/html/core/fn_common.php on line 1970



#25092 Cannot connect to db

Posted by king on 05 December 2007 - 09:50 AM in v1.x Installation & Upgrade

I know these are in my config.php but not the password.


define('DB_SERVER', '');
define('DB_USERNAME', '');
define('DB_PASSWORD', '');
define('DB_NAME', '');
define('PASSWORD', '3621'); <--------------------- Whats that and where do i change it to correct password

What password is it for anyway!!!!!!!!!!!!!!!!



#25071 Cannot connect to db

Posted by king on 04 December 2007 - 11:35 PM in v1.x Installation & Upgrade

password=3621' ! Could not connect to DB. Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2)...


<?php

if(!defined('IN_SCRIPT')) { exit('Access denied'); }

define('DB_SERVER', '');
define('DB_USERNAME', '');
define('DB_PASSWORD', '');
define('DB_NAME', '');
define('PASSWORD', '3621'); <--------------------- Whats that and where do i change it to correct password

What password is it for anyway!!!!!!!!!!!!!!!!


define('SMB_DIR', dirname(__FILE__)); // directory where script is placed into
define('SMB_TMP_DIR', SMB_DIR . '/files'); // writable directory for storing temporary data
define('SMB_BACKUP_DIR', realpath(SMB_DIR.'/..')); // directory, which will be backed up
define('COMPRESS_TGZ', 0);
define('COMPRESS_ZIP', 1);

define('FILES_PER_PASS', 20);
define('TABLES_PER_PASS', 20);

$skip_dirs = array (
SMB_BACKUP_DIR.'/backup',
SMB_BACKUP_DIR.'/var/database',
SMB_BACKUP_DIR.'/var/compiled',
//SMB_BACKUP_DIR.'/images',
SMB_BACKUP_DIR.'/catalog',
);

$skip_files = array (
'tgz',
'zip'
);

?>



#24722 Immediate help needed

Posted by king on 28 November 2007 - 12:45 PM in General Questions

Anyways thanks for all the help given. I managed to figure it out myself after what all of 8 hours messing around.





I have got this appearing

Fatal error: Call to undefined function: fn_get_image() in /home/content/a/l/i/alisond/html/addons/ads/func.php on line 50

Just happened everything was ok perfect store.

Plus i dont have any ads on the store so i have no idea.

Also getting this on admin page

Warning: fn_add_breadcrumb(CORE_DIRaddons_inheritance.php): failed to open stream: No such file or directory in /home/content/a/l/i/alisond/html/core/fn_common.php on line 795

Warning: fn_add_breadcrumb(CORE_DIRaddons_inheritance.php): failed to open stream: No such file or directory in /home/content/a/l/i/alisond/html/core/fn_common.php on line 795

Warning: fn_add_breadcrumb(): Failed opening 'CORE_DIRaddons_inheritance.php' for inclusion (include_path='/home/content/a/l/i/alisond/html/classes/pear:.:/usr/local/lib/php') in /home/content/a/l/i/alisond/html/core/fn_common.php on line 795



#24718 Importing Data

Posted by king on 28 November 2007 - 10:16 AM in v1.x Installation & Upgrade

Nope no joy with that either.



#24660 Importing Data

Posted by king on 27 November 2007 - 06:08 PM in v1.x Installation & Upgrade

now i have got this

Fatal error: Maximum execution time of 10 seconds exceeded in /home/content/a/l/i/alisond/html/shop/core/fn_common.php on line 1616



#24659 Importing Data

Posted by king on 27 November 2007 - 06:06 PM in v1.x Installation & Upgrade

You need to open file './core/install.php' and replace the following code:
Code:

define('MAX_DB_EXECUTION', 3600);

with this one:
Code:

define('MAX_DB_EXECUTION', 10);

This should fix the problem.


Got this from another post but that dosent apper in my script?



#24654 Importing Data

Posted by king on 27 November 2007 - 05:21 PM in v1.x Installation & Upgrade

While trying to get this to install all i get to is importing data then it decides to stop.

Any ideas issue?