<? DEW-CODE.COM  
Dew-Code
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Confirmation email to user (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Confirmation email to user
#976
Dewed (Admin)
Admin
Posts: 534
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:Confirmation email to user 1 Year, 2 Months ago Karma: 9  
The log directories you are seeing are almost certainly for Apache logs. When PHP is set up to log errors to a file it nomrally writes them to the directory where the script that caused the error is...

So if no error is occuring, I have to conclude the email is indeed being sent, just getting lost somewhere... although that doesn't seem likely since you've tried multiple addresses... which means I'm stumped.. I hate that
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#977
Dewed (Admin)
Admin
Posts: 534
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:Confirmation email to user 1 Year, 2 Months ago Karma: 9  
On a different topic, you have the script instaleld in document root for the domain.

Adding the following to the .htaccess file (not the one in the admin directory)
will avoid the redirect to /directory/ which can prevent some search engine spiders from crawling the site.

Code:

## add mod rewrite rules RewriteEngine On RewriteBase / #make /directory/ act as index RewriteRule ^$ /directory/ [L] RewriteRule ^index\.(php|htm|html)$ /directory/ [R] RewriteRule ^index\.....$ /directory/ [R]
See the FAQ entry for the full explanation http://www.dew-code.com/content/view/34/25/
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#978
timopp (User)
Fresh Boarder
Posts: 19
graphgraph
User Offline Click here to see the profile of this user
Re:Confirmation email to user 1 Year, 2 Months ago Karma: 0  
Okay,

Here is my existing .htaccess

<Files directory>
ForceType application/x-httpd-php
</Files>

I tried the code in this post and got the 500 error.

Then I tried this code from the FAQ, and got the 500 error. So have I got something wierd going on?

Files directory>
ForceType application/x-httpd-php
#SetHandler application/x-httpd-php
#SetHandler application/x-httpd-php5
#ForceType x-httpd-php
</Files>
 
 ## add mod rewrite rules 
RewriteEngine On
RewriteBase /


 #make /directory/ act as index
RewriteRule ^$ /directory/ [L]
RewriteRule ^index\.(php|htm|html)$ /directory/ [R]
RewriteRule ^index\.....$ /directory/ [R]
 
#  Redirect non WWW to WWW
RewriteCond %{HTTP_HOST} ^aboutjonesboro\.com
RewriteRule (.*) http://www.aboutjonesboro.com/$1 [R=301,L]
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#979
Dewed (Admin)
Admin
Posts: 534
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:Confirmation email to user 1 Year, 2 Months ago Karma: 9  
Tailoring .htaccess files can be tricky. Some servers are set to cache them, so changes are not immediately apparent.. Add to that your browser will also try to cache the resulting pages. Holding a shift key while click refresh/reload usually forces your browser to fetch a fresh copy of the page.

Based on your post, your .htaccess file should look like this...

Code:

<Files directory> ForceType application/x-httpd-php #SetHandler application/x-httpd-php #SetHandler application/x-httpd-php5 #ForceType x-httpd-php </Files> ## add mod rewrite rules RewriteEngine On RewriteBase / #make /directory/ act as index RewriteRule ^$ /directory/ [L] RewriteRule ^index\.(php|htm|html)$ /directory/ [R] RewriteRule ^index\.....$ /directory/ [R] # Redirect non WWW to WWW RewriteCond %{HTTP_HOST} ^aboutjonesboro\.com RewriteRule (.*) http://www.aboutjonesboro.com/$1 [R=301,L]
Granted, it is not crucial that you use the rewrite rules to get the directory script to behave as the main index of the site.. You could also create a static index.html file that links to it.
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#980
timopp (User)
Fresh Boarder
Posts: 19
graphgraph
User Offline Click here to see the profile of this user
Re:Confirmation email to user 1 Year, 2 Months ago Karma: 0  
Wow that was just broke my CSS.

It removed the tables and colors.

Maybe I will try the index method.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#981
Dewed (Admin)
Admin
Posts: 534
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:Confirmation email to user 1 Year, 2 Months ago Karma: 9  
Hrm.. I swear it's not normally this problematic honest

On the admin configuration page, do you have the base URL set to http://www.aboutjonesboro.com

and BasePath blank ?
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop
Outsource your projects to thousands of programmers at
ScriptLance.com
Newsflash
Interested in
advertising?

This space for rent!

Sign up for PayPal and start accepting credit card payments instantly.
Copyright Dew-Code 2008