Archive for July 18, 2011

Zen-cart Session_start error leads to a blank page display

zen-cart. Some space reasons。After editing or download the document in?> After a blank line to pay more。This led to the foreground and background can not display normal。。Often there will be a blank page。Or session_start()error。Given the header information already sent。 Add in the shopping cart and payment processes often appear。The following are the symptoms:

Warning: session_start() [function.session-start]: Cannot send session cookie – headers already sent by (output started at /home1/megacoll/public_html/shopping/admin/includes/classes/logger.php:106) in /home1/megacoll/public_html/shopping/includes/functions/sessions.php on line 108

Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home1/megacoll/public_html/shopping/admin/includes/classes/logger.php:106) in /home1/megacoll/public_html/shopping/includes/functions/sessions.php on line 108

Warning: Cannot modify header information – headers already sent by (output started at /home1/megacoll/public_html/shopping/admin/includes/classes/logger.php:106) in /home1/megacoll/public_html/shopping/admin/includes/init_includes/init_templates.php on line 69

Warning: Cannot modify header information – headers already sent by (output started at /home1/megacoll/public_html/shopping/admin/includes/classes/logger.php:106) in /home1/megacoll/public_html/shopping/admin/includes/functions/general.php on line 37

Background leading to the site can not log。

If you have administrative privileges php.ini,Then,Directly edit php.ini,The output_buffer open (just give a value of 1024-4086),If you do not have permission to php.ini,But the server provides the function of words .htaccess,Then in .htaccess add that this thing on it:

All the php files are checked still the same。
Finally found out that there was no host in php.ini setting output_buffering。Although not yet ask them to correct,But we can try to use .htaccess。

.htaccess set as follows:
php_value output_buffering 4096

Tested 。no problem。

Comments

The lightinthebox zencart template simply submit links will be displayed on the home page

Circulated on the Internet zen cart lightinthebox template
Links submitted will be displayed in a Home
It will be considered the same as if the site was hacked
In fact not! !
In fact, it is not required to submit audited Links
Originally link module is Audit Scheme,On this point ignores,I do not know is intentional or ...
Now we need to add a review on the line

Very simple!
找到 includes/modules/sideboxes/lightinthebox/links_box.php 文件
In the code
WHERE ld.language_id = ‘” . (int)$_SESSION[‘languages_id’] . “‘
Adding back and l.links_status = '2'
To

Comments

zen-cart smtpauth set gmail success

1) First way is to send an e-mail back:smtpauth
2) Smtp mail account:xxx@gmail.com
3) Smtp account password:xxxxxxxx
4) Smtp host:smtp.gmail.com
5) Smtp server port:465Or 587

If this setting is correct。But some hosts still appear Email Error: SMTP Error: Could not connect to SMTP host. Such a situation 。

This requires the server to support。Check back next - whether the information in the OpenSSL server - Tools。Because the transmission is ssl google://smtp.gmail.com agreement。

It requires the server to support this very important Openssl。

Germany fully supports our server,We tested.

Comments