jonybhi Posted April 27, 2007 Share Posted April 27, 2007 Hello, I have downloaded webcards script from www.mywebcards.net but I can't Install it because I am new to PHP. this script has a filee config.php but I can't configure it. I created a new MySQL (mysite_ecards) and has added a user (mysite_joji) to it. so please tell me what should I edit in config file,, the file is: <?php $conf['admin_script'] = "./admin.php"; $conf['allow_langs'] = "y"; $conf['allow_styles'] = "y"; $conf['auto_expire'] = "y"; $conf['ban_message'] = "Sorry!<br /><br />Your IP address has been banned by an adminsitrator.<br /><br />Please try again later!!"; $conf['buffer'] = "y"; $conf['cat_to_show'] = "5"; $conf['cc_address'] = ""; $conf['date_format'] = "d F Y - h:i a"; $conf['db_driver'] = "MySQL"; $conf['dbhost'] = "localhost"; $conf['dbname'] = ""; $conf['dbpass'] = ""; $conf['dbprefix'] = "wc_"; $conf['dbuser'] = ""; $conf['default_pub_lang'] = "English"; $conf['default_sort'] = "id_desc"; $conf['delay_send'] = "y"; $conf['dir'] = "/"; $conf['email_ban'] = ""; $conf['email_from'] = ""; $conf['enable_delay_send'] = "y"; $conf['enable_notify'] = "y"; $conf['enable_resends'] = "y"; $conf['expiry_time'] = "30"; $conf['expiry_units'] = "86400"; $conf['font_bg_colours'] = "white,black,red,blue,yellow,green,orange,purple,brown,gray,pink"; $conf['font_colours'] = "black,white,red,blue,yellow,green,orange,purple,brown,gray,pink"; $conf['font_faces'] = "Arial,Century,Comic,Courier,Fixedsys,Franklin,Garamond,Impact,Lucida,Microsoft,System,Tahoma,Trebuchet"; $conf['font_sizes'] = "medium,small,large,x-large,xx-large"; $conf['get_post_show'] = "n"; $conf['img_per_row'] = "4"; $conf['ip_ban'] = ""; $conf['mailer'] = "WebCards Mailer"; $conf['max_message_length'] = "2000"; $conf['max_recip'] = "5"; $conf['new_pop_imgs'] = "5"; $conf['query_count'] = "n"; $conf['render_time'] = "n"; $conf['script'] = "./index.php"; $conf['server_load'] = "n"; $conf['smtp_host'] = "localhost"; $conf['smtp_pass'] = ""; $conf['smtp_port'] = "25"; $conf['smtp_user'] = ""; $conf['sql_show'] = "n"; $conf['thumb_format'] = "png"; $conf['thumb_height'] = ""; $conf['thumb_width'] = "150"; $conf['url'] = ""; $conf['use_mail_smtp'] = "mail"; ?> Please help me Link to comment https://forums.phpfreaks.com/topic/48886-php-webcards/ Share on other sites More sharing options...
sanfly Posted April 27, 2007 Share Posted April 27, 2007 I would recommend using the help FAQs or forum on the site you got the script from Link to comment https://forums.phpfreaks.com/topic/48886-php-webcards/#findComment-239602 Share on other sites More sharing options...
jonybhi Posted April 27, 2007 Author Share Posted April 27, 2007 Hmm I have posted there if any body knows there then please tell me Link to comment https://forums.phpfreaks.com/topic/48886-php-webcards/#findComment-239623 Share on other sites More sharing options...
hackerkts Posted April 27, 2007 Share Posted April 27, 2007 $conf['dbhost'] = "localhost"; // just leave it as localhost $conf['dbname'] = "mysite_ecards"; // table name $conf['dbpass'] = ""; // user pass $conf['dbprefix'] = "wc_"; // you can just ignore this $conf['dbuser'] = ""; // mysite_joji You will need to set the configuration for your MySQL. Link to comment https://forums.phpfreaks.com/topic/48886-php-webcards/#findComment-239626 Share on other sites More sharing options...
jonybhi Posted April 27, 2007 Author Share Posted April 27, 2007 Thanks Dude! Link to comment https://forums.phpfreaks.com/topic/48886-php-webcards/#findComment-239634 Share on other sites More sharing options...
jonybhi Posted April 27, 2007 Author Share Posted April 27, 2007 hay this worked for the first time but when i created new DB and user it doesnt work although I changed config.php according to new DB and user. Please help me Link to comment https://forums.phpfreaks.com/topic/48886-php-webcards/#findComment-239938 Share on other sites More sharing options...
jonybhi Posted April 28, 2007 Author Share Posted April 28, 2007 plz help me Link to comment https://forums.phpfreaks.com/topic/48886-php-webcards/#findComment-240298 Share on other sites More sharing options...
hackerkts Posted April 28, 2007 Share Posted April 28, 2007 Double check again, make sure the informations you entered are correctly. Link to comment https://forums.phpfreaks.com/topic/48886-php-webcards/#findComment-240311 Share on other sites More sharing options...
jonybhi Posted April 28, 2007 Author Share Posted April 28, 2007 i checked config.php and also permissions but same error occurs. Link to comment https://forums.phpfreaks.com/topic/48886-php-webcards/#findComment-240313 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.