tip a friend

Author Message

Michele Brugo

Wednesday 15 December 2004 2:24:32 am

Hi people,
i receive an error (cannot send email) on "tip a friend".
Where can i find more information without set debug on ?

my site is online now :(

TIA

Mike

Balazs Halasy

Wednesday 15 December 2004 5:40:30 am

If your site is online, you can still enable the debug information. Just make sure that debug information is shown only if the client has a specific IP address. You can do something like this:

[DebugSettings]
DebugOutput=enabled
DebugByIP=enabled
DebugIPList[]
DebugIPList[]=128.39.140.28
Debug=inline
DebugRedirection=enabled

...where 128.39.140.28 is your IP address.

Balazs

Michele Brugo

Wednesday 15 December 2004 6:03:11 am

but have i to restart apache ?

Thanks

Mike

Balazs Halasy

Wednesday 15 December 2004 6:24:34 am

No, you'll only have to clear the INI caches. This has nothing to do with Apache. Fire up the administration interface and click the "Clear INI caches" button. You can also run the clear cache script:

bin/shell/clearcache.sh --clear-ini

Balazs

Michele Brugo

Wednesday 15 December 2004 6:45:01 am

balasz,
i've change ini setting, clear the cache.
but nothing to be appear.

i see the debug only if i comment DebugByIP.

Mike

Michele Brugo

Wednesday 15 December 2004 6:47:23 am

here site.ini.
i've tried to put setting on site.ini.append.php too
but nothing to be appear.

[DebugSettings]
# Master switch for debug, if disabled no debug will be shown
# If enabled it's up to the DebugIP and DebugIPList to decide what to do.
# Use either enabled or disabled
#DebugOutput=disabled
DebugOutput=enabled
# Debug switch for scripts, will only take place if DebugOutput is set to enabled
# By default it is off to not give debug for scripts.
# Use either enabled or disabled
ScriptDebugOutput=disabled
# Whether debug is set per IP address. If set to enabled it will user
# DebugIPList for valid ips otherwise all ips get debug.
# Use either enabled or disabled
#DebugByIP=disabled
DebugByIP=enabled
# A array with IP addresses which will get debug information
DebugIPList[]
# Examples
DebugIPList[]=10.1.31.40
DebugIPList[]=10.1.4.153
# Controls how debug is displayed, inline means that the debug is displayed in
# page itself while popup will create a new popup window with the debug.
# Popup window might not work in all browsers.
# Use either disabled, inline or popup
# If you use popup you must make sure that a rewrite rules exists for .html files
# or that your site is running in non-virtual host mode. Also some browsers
# have problems with this feature.
Debug=inline
#Debug=popup
# Controls if redirects should be debuggable, set to enable to get a redirect
# page with debug info.
# This is useful for development while production sites should have it off
#DebugRedirection=disabled
DebugRedirection=enabled

Michele Brugo

Wednesday 15 December 2004 7:49:39 am

Ok i've found error:

Error sending SMPT mail: RCPT command outside of MAIL transaction.

php 4.3.9
apache 1.3.29
win 2000 server sp4
ex 3.4.3
mysql 4.0.22

Thanks
mike

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.