database fouten gegevens kloppen

Status
Niet open voor verdere reacties.

uaejeroen

Terugkerende gebruiker
Lid geworden
7 dec 2009
Berichten
1.665
PHP:
<?php

/*
***************************************************************************************************************************
*****************************************COPYRIGHT 2005 YOU MAY NOT USE THIS WITHOUT PERMISSION****************************

HJB IS PROVIDED "As Is" FOR USE ON WEBSITES WHERE A LICENSE FOR SUCH USE WAS PURCHASED.  IT MAY ONLY BE USED ON ONE SITE PER LICENSING
FEE.  IN ORDER TO USE ON ADDITIONAL SITES, ADDITIONAL LICENSES MUST BE PURCHASED.  


THE PHP SCRIPTS MAY BE ALTERED, AS LONG AS THE CREDIT LINE AND LINKS AT THE BOTTOM OF EACH PAGE REMAIN. THE FLASH MAY NOT IN ANY
WAY BE CHANGED OR ALTERED.  ANY VIOLATION OF THESE TERMS WILL RESULT IN THE FORFEITING OF YOUR RIGHT TO USE THIS SOFTWARE.

NationWideShelving.com does not guarantee this software in anyway.  You use this at your own risk.  NationWideShelving or any of its
employees or subsidiaries are not responsible for any damage, and / or loss of business, reputation, or other damages of any kind
which are caused whether actual or not, by the use of this product.  By using this product you agree to hold NationWideShelving, its
employees, and all subsidiaries harmless for any and all reasons associated with your use of this product.

Your installation of this software consititues an agreement to these terms.

****************************************************************************************************************************
	*/

//Set Database Defaults

$host_default  = 'localhost';
$login_default = 'database username';
$pw_default    = 'password';
$db_default    = 'database naam';

[U]Hier heb ik mijn db naam/username/password ingevult 
ook heb ik het bijgeleverde sql bestand in mijn phpmyadmin geimporteerd en er stond succed vermeld[/U]


//set notification emails 
//This is where order notifications will be sent.  This should be an address you will check regularly.
$notification_emails=my mail@hotmail.com';

//Your Websites Name
$siteName="HJB Flash Cart";

//Paypal Info
$paypal_login='';  //enter paypal login here.  YOu only need to do this if you intend to use paypal.

//What type of order processing would you like to do.  You have three choices:
//1.  paypal
//		will send payment requests to paypal after your customer completes their order.

//2.  authorize
//		Will use authorize.net to charge credit cards.

//3.  email
//		Will not charge credit card.   Instead will send you an email notification with cc number and let you do whatever you want with it.
$CheckOutProcessType='paypal';

//Authorize.net Info
//you only need to complete this if you intend to use Authorizenet as a payment gateway.
	$x_Login="";     // Your authorize.net login 
	$x_Password="";          // Your authorize.net password (if Password-Required Mode is enabled) 
	$x_Tran_key="";  //Transaction Key
	
//Terms and agreements that your customer will be shown and asked to agree to.
$termsAndAgreements='I agree to the following:  <br>These are updated in the following script:  /library/db.php';

//Sales Tax Configuration
$ChargeSalesTax=true; //can be true or false
$salesTaxAmount=0.0625;
$stateAbrev='UT';  //which state should sales tax be charged on?

############## DO NOT EDIT BELOW THIS LINE ####################
$paypalUser=str_replace ("@", "%40", $paypal_login);


?>

Deze fouten kreeg ik

Warning: include_once(/library/db.php) [function.include-once]: failed to open stream: No such file or directory in /home/deb38778/domains/mysite.com/public_html/cart.php on line 2

Warning: include_once() [function.include]: Failed opening '/library/db.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/deb38778/domains/mysite.com/public_html/cart.php on line 2

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'apache'@'localhost' (using password: NO) in /home/deb38778/domains/mysite.com/public_html/cart.php on line 26

Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'apache'@'localhost' (using password: NO) in /home/deb38778/domains/mysite.com/public_html/cart.php on line 27

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /home/deb38778/domains/mysite.com/public_html/cart.php on line 27
 
Jeroen, lees eens die foutmeldingen en wees vervolgens niet zo koppig.

Kan mij ook niet voorstellen dat jij rechten hebt tot /library op een sharedhost.
Mogelijk bedoel jij dus library/db.php (dus zonder de slash aan het begin)
 
sorry voor mijn korte reactie maar ik loop tegen 100 problemen aan en ja ik had het gistr al gezien vandaar dat ik het niet snap het stond er echt
 
Waar staat die volgens jouw?
Zoals ik eerder al zei, lijkt erop dat jij op shared hosting zit en dan heb jij (als het goed is) geen rechten tot /library
 
ik zit bij antagonist nooit problemen gehad

Nu zit ik te stoeien met een formulier die wel verzonden wordt maar geen gegevens

Sorry niks wil lukken als het snel moet

Ik ga zo lunchen, ja zit in het buitenland

Misschien kunt u me helpen met dat formulier, deze vraag was toen ik een webwinkel online wou testen maar hartelijk dank voor jullie hulp ik kijk r binnenkort weer eens naar

hier vind u mijn vraag waar ik nu mee zit

http://www.helpmij.nl/forum/showthread.php/651873-hebben-ze-nou-nergens-een-werkend-mailscript
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan