I was having the 404 problem, and found answer was to add this script into my root .htaccess file.
http://www.boonex.com/trac/dolphin/wiki/GenDolTShooter#WhenItrytoopensomebodysprofileIgetthispage:NotFound
Can someone please tell me where in the file to place this script?
<IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule .+ - [L] RewriteRule ^([A-Za-z0-9_-]+)$ profile.php?ID=$1 [QSA,L] </IfModule>
|
What dolphin version? 6.0.x or 6.1.x?
6.0.x looks like what you mentioned:
php_flag register_globals Off <IfModule mod_rewrite.c> RewriteEngine on
RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule .+ - [L] RewriteRule ^([A-Za-z0-9_-]+)$ profile.php?ID=$1 [QSA,L] </IfModule>
Certain setups you just remove the first line php_flag register_globals Off and no more 400 error. But it can depend on your setup. Also 6.1.x will have more than what you mention. It is included in the main directory. Might first check your .htaccess file at yoursite.com/.htaccess and see what is in there and let us know what version of dolphin you have.
DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources |
Thanks for the reply. I have Dolphin 6.1
Thanks for your reply....Here's the contents of my .htaccess file:
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST> order deny,allow deny from all allow from all </Limit> <Limit PUT DELETE> order deny,allow deny from all </Limit> AuthName ********.*** (removed for post)
|
First of all can you access any area of your site?
Because:
<Limit GET POST> order deny,allow deny from all <--you are deny everyone/all allow from all <--then you are allowing everyone/all </Limit> <Limit PUT DELETE> order deny,allow deny from all <--then deny all again </Limit>
Which is a little odd to deny everyone, then allow everyone on the next line. Have you made some control panel adjustments to anything lately or is this kind of brand new everything.
DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources |
Hi,
Save you current .htaccess file somewhere safe on your pc so you can get it again if need be.
Then create a copy of it and delete everything that is there right now. So now you have a blank file.
Next insert the new stuff -
<IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule .+ - [L] RewriteRule ^([A-Za-z0-9_-]+)$ profile.php?ID=$1 [QSA,L] </IfModule>
and then save it, and upload it your webspace.
Now type in some gibberish such as www.yourdomain.com/jhgadkj.html
and see if you get a correct 404 error.
If none of that works then you can always get your old htaccess file and reupload it.
Cheers
Max
|
I am able to log into the site and create a user account; however, when I go to look at a users profile, I receive this message:
Not Found
The requested URL /dolphin/Jaime75254 was not found on this server.
Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at minglesingle.net Port 80
The original .htaccess file created by the dolphin installation scipt is this:
<Limit GET POST> order deny,allow deny from all allow from all </Limit> <Limit PUT DELETE> order deny,allow deny from all </Limit> AuthName ********.*** (removed for post)
|
Clayton,
Did someone install Dolphin for you because that is NOT the .htaccess that comes with Dolphin.
The .htaccess that comes with Dolphin doesn't have any <limit> statements in it at all.
Oh, and if you DID want to add those lines a much more efficient way of doing it is:
<LimitExcept GET POST>
deny from all
</LimitExcept>
Those 3 lines will stop all request methods except GET, POST, TRACE and HEAD.. you need GET and POST for the site to function and for the most part you don't have to worry about HEAD.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
I ran the install script myself so I could learn all the install fixes before I set up my live site for the soft open. I did not put the file there...I think I'm going to trash it and do it again. I'll let y'all know how it turns out.
Thanks everyone for the timely responses.
|
Download the file directly from here, delete the files from your server then ftp them from scratch.
MIke
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Upload the contents of file ".htaccess" from a new pack to the server without the line that starts with php_flag ---- |
I originally posted a reply with code, but now that code is gone...thats odd...anyways, this go around, I have what seems to be a more proper file. However, if I leave on the perma links, users cannot see events posted by the admin...and on top of that, I keep getting a data query error
Mysql error: Duplicate entry '' for key 2
Found error in file /home/admin/public_html/admin/sdating_admin.php at line 195. Called db_res function with erroneous argument #0
|
clayton
I have the same file in my folder as well. except mine says that it was made for front page:
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST> order deny,allow deny from all allow from all </Limit> <Limit PUT DELETE> order deny,allow deny from all </Limit> AuthName ####
AuthUserFile ####
AuthGroupFile ####
this may not be much help, but mabey it helped to clear that up :)
Zine
|