Webmaster Forum

Go Back   Webmaster Forum > Web Development > Web Design Lobby

Web Design Lobby Forum for general web design issues not specific to scripting or graphics.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-07-2009, 12:12 AM
Contributing Member
Latest Blog:
None

 
Join Date: 07-11-09
Location: www.globalcashsite.com
Posts: 84
iTrader: 1 / 100%
globalcashsite is liked by many
Post pHp mailing list problem,

Guys

I installed built-in php mailing list from Fantastico at http://globalcashsite.com/mailinglist/ but this is giving error

Quote:
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@globalcashsite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Any idea how I can solve this problem, my site is working fine.

GCS
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #2 (permalink)  
Old 08-07-2009, 12:48 AM
Bagi Zoltán's Avatar
Contributing Member
 
Join Date: 11-28-06
Location: Hungary
Posts: 194
iTrader: 2 / 100%
Bagi Zoltán is liked by somebodyBagi Zoltán is liked by somebodyBagi Zoltán is liked by somebodyBagi Zoltán is liked by somebodyBagi Zoltán is liked by somebody
I usually receive 500 server error when there is some problem with the .htaccess file. If you could check the error log that may suggest where to look.
__________________
Shopping Cart Software
seo directory
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #3 (permalink)  
Old 08-07-2009, 12:50 AM
Contributing Member
Latest Blog:
None

 
Join Date: 07-11-09
Location: www.globalcashsite.com
Posts: 84
iTrader: 1 / 100%
globalcashsite is liked by many
Quote:
Originally Posted by Bagi Zoltán View Post
I usually receive 500 server error when there is some problem with the .htaccess file. If you could check the error log that may suggest where to look.
You are right, here is error

public_html/mailinglist/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration

But I chekced there is no .htaccess file in main folder of mailing list, should I create one, if yes then what I should write in that?

GCS
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #4 (permalink)  
Old 08-07-2009, 02:49 AM
Bagi Zoltán's Avatar
Contributing Member
 
Join Date: 11-28-06
Location: Hungary
Posts: 194
iTrader: 2 / 100%
Bagi Zoltán is liked by somebodyBagi Zoltán is liked by somebodyBagi Zoltán is liked by somebodyBagi Zoltán is liked by somebodyBagi Zoltán is liked by somebody
If you don't see it via ftp software that does not mean that the file does not exist in the folder. Depending on the server setting it can be set to be invisible. If I were you I would download the installer package of the mailing list script and after deleting the php configuration related htaccess commands i would overwrite the current htaccess with that.
__________________
Shopping Cart Software
seo directory
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #5 (permalink)  
Old 08-07-2009, 04:04 AM
Junior Member
Latest Blog:
None

 
Join Date: 08-05-09
Posts: 24
iTrader: 0 / 0%
ruskin012 is liked by many
REPLY: Uninstall once

Hello,

You should uninstall it once, and install it again. May be you error will not come again.

"Joomla Programmer can work with OSC plateform"
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #6 (permalink)  
Old 08-07-2009, 10:49 AM
FGTH's Avatar
Contributing Member
Latest Blog:
None

 
Join Date: 03-06-04
Posts: 606
iTrader: 0 / 0%
FGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to all
I suggest installing xdebug (http://xdebug.org/)

You'll need to download the extension and configure the extension in your php.ini file.

What type of server are you running? Windows of Linux?

Windows
1) .htaccess will not work under windows
2) download php_xdebug-2.0.2-5.2.5.dll from xdebug.org
3) put the dll in your php extensions directory (assuming it's c:\php\ext... you'll need to check yourself)
4) add this to the top of your php script (your mail script)
Code:
ini_set ('display_errors', 'ON'); error_reporting (E_ALL); ini_set ('xdebug.trace_format', '0'); ini_set ('xdebug.auto_trace', 'On'); ini_set ('xdebug.collect_params', '0'); ini_set ('xdebug.collect_includes', 'On'); ini_set ('xdebug.collect_return', 'On'); ini_set ('xdebug.collect_params', '0'); ini_set ('xdebug.trace_output_dir', '/tmp/trace'); ini_set ('xdebug.trace_output_name', 'xdebug.%c.%p'); ini_set ('xdebug.var_display_max_data', '16384'); ini_set ('xdebug.collect_vars', 'On'); xdebug_start_trace();
5) add these lines to your php.ini file
Code:
error_log = "c:\php\error.log" zend_extension_ts="c:\php\ext\php_xdebug-2.0.2-5.2.5.dll"
Restart IIS
Code:
Start -> Run -> issreset /restart
or
Code:
Start -> Run -> net stop w3svc Start -> Run -> net start w3svc
Visit your broken page and then look at the tmp folder and php folder for the error and trace logs.


Linux
1) download xdebug.so from xdebug.org
2) put it in your extensions directory (assuming it's "/usr/local/php/modules/")
3) add this to the top of your php script (your mail script)
Code:
ini_set ('display_errors', 'ON'); error_reporting (E_ALL); ini_set ('xdebug.trace_format', '0'); ini_set ('xdebug.auto_trace', 'On'); ini_set ('xdebug.collect_params', '0'); ini_set ('xdebug.collect_includes', 'On'); ini_set ('xdebug.collect_return', 'On'); ini_set ('xdebug.collect_params', '0'); ini_set ('xdebug.trace_output_dir', '/usr/local/php/trace'); ini_set ('xdebug.trace_output_name', 'xdebug.%c.%p'); ini_set ('xdebug.var_display_max_data', '16384'); ini_set ('xdebug.collect_vars', 'On'); xdebug_start_trace();
4) add these lines to your php.ini file
Code:
error_log = "/usr/local/php/error.log" zzend_extension="/usr/local/php/modules/xdebug.so"
Restart apache via SSH/telnet
Code:
apachectl stop apachectl start
or
Code:
apachectl restart
Digg this Post!Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
JV Program for Mailing List Owners or Marketers Without a Mailing List. holdem8 Joint Ventures 0 05-09-2009 11:01 AM
Mailing list Newbe Marketing Forum 6 04-20-2009 07:10 AM
mailing list tdd1984 Marketing Forum 5 07-11-2007 02:22 PM
Mailing list Jonathan VanSchaack Web Design Lobby 9 07-11-2005 08:53 AM
PHP, CGI Mailing list pippyboy Coding Forum 3 06-18-2004 07:58 AM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 08:35 AM.
© Copyright 2010 V7 Inc
Powered by vBulletin
Copyright © 2000-2010 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.