Hello,
I have installed opencart in my localhost to check for a site. When I regisiter a new account, Iam getting the following error in anytime. But I refresh the browser the user account is creating.
Notice: Undefined variable: from in C:\xampp\htdocs\open cart\upload\system\library\mail.php on line 122
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\open cart\upload\system\library\mail.php on line 124
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\open cart\upload\system\library\mail.php:122) in C:\xampp\htdocs\open cart\upload\system\engine\controller.php on line 23
Help me to remove the error. Thanks.
I have installed opencart in my localhost to check for a site. When I regisiter a new account, Iam getting the following error in anytime. But I refresh the browser the user account is creating.
Notice: Undefined variable: from in C:\xampp\htdocs\open cart\upload\system\library\mail.php on line 122
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\open cart\upload\system\library\mail.php on line 124
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\open cart\upload\system\library\mail.php:122) in C:\xampp\htdocs\open cart\upload\system\engine\controller.php on line 23
Help me to remove the error. Thanks.
Change line 122 in "system/library/mail.php" from:
to
Code: Select all
ini_set('sendmail_from', $from);
Code: Select all
ini_set('sendmail_from', $this->from);
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
Thanks to Daniel and fido-x. I downloaded latest version and upload into my server. Afer i installed i got some of the following error
Notice: Undefined index: HTTP_USER_AGENT in /home/shop/public_html/demo/upload/system/library/request.php on line 15
I got approximately 12 lines like above line
defined index: SERVER_PORT, HTTP_ACCEPT_CHARSET , DOCUMENT_ROOT REQUEST_URI etc. How to clear the error. And also got magic quotes gpc and registrar global error when i installed. How to set the registral global and magic quote on/off.
Notice: Undefined index: HTTP_USER_AGENT in /home/shop/public_html/demo/upload/system/library/request.php on line 15
I got approximately 12 lines like above line
defined index: SERVER_PORT, HTTP_ACCEPT_CHARSET , DOCUMENT_ROOT REQUEST_URI etc. How to clear the error. And also got magic quotes gpc and registrar global error when i installed. How to set the registral global and magic quote on/off.
I couldn't find $HTTP_USER_AGENT] . Iam getting the following error.
Notice: Undefined index: PATH in /home/shop/public_html/demo/upload/system/library/request.php on line 15
Warning: Cannot modify header information - headers already sent by (output started at /home/shop/public_html/demo/upload/system/library/request.php:15) in /home/shop/public_html/demo/upload/system/library/language.php on line 49
Warning: Cannot modify header information - headers already sent by (output started at /home/shop/public_html/demo/upload/system/library/request.php:15) in /home/shop/public_html/demo/upload/system/library/currency.php on line 44
Warning: Cannot modify header information - headers already sent by (output started at /home/shop/public_html/demo/upload/system/library/request.php:15) in /home/shop/public_html/demo/upload/system/library/response.php on line 65
Notice: Undefined index: PATH in /home/shop/public_html/demo/upload/system/library/request.php on line 15
Warning: Cannot modify header information - headers already sent by (output started at /home/shop/public_html/demo/upload/system/library/request.php:15) in /home/shop/public_html/demo/upload/system/library/language.php on line 49
Warning: Cannot modify header information - headers already sent by (output started at /home/shop/public_html/demo/upload/system/library/request.php:15) in /home/shop/public_html/demo/upload/system/library/currency.php on line 44
Warning: Cannot modify header information - headers already sent by (output started at /home/shop/public_html/demo/upload/system/library/request.php:15) in /home/shop/public_html/demo/upload/system/library/response.php on line 65
I couldn't register_globals off function. My server php configuration is just display that "Data Handling - register_globals - You should do your best to write your scripts so that they do not require register_globals to be on; Using form variables as globals can easily lead to possible security problems, if the code is not very well thought of. - On" . Should i contact my hosting provider for that or can i off the function own?.
Warning: require_once(C:\xampp\htdocs\opencart\upload/system/startup.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\OpenCart v1.5.0.5\upload\admin\index.php on line 15
Fatal error: require_once() [function.require]: Failed opening required 'C:\xampp\htdocs\opencart\upload/system/startup.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\OpenCart v1.5.0.5\upload\admin\index.php on line 15
pls help me to remove error show .thanks
Fatal error: require_once() [function.require]: Failed opening required 'C:\xampp\htdocs\opencart\upload/system/startup.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\OpenCart v1.5.0.5\upload\admin\index.php on line 15
pls help me to remove error show .thanks
Who is online
Users browsing this forum: No registered users and 18 guests