I have several cron jobs that fire pages that are now being very quickly redirected to profile pages like they were the pages in the folder........
We tried to fire the pages manually but alas the profile redirect within seconds..............any thoughts.................
Was there anything in the upgrade that might cause this issue?
Csampson |
Options -Indexes
<FilesMatch "^.*\.php|.*\.php5$">
ForceType application/x-httpd-php-source
</FilesMatch>
Is this suppose to be in the cache_public there has never been a htaccess file in the cache_public
Csampson |
I'm having the same issue with my classified ads mod. When you add a new classified and hit save, it redirects you to someones profile page http://towtalk.net ... Hosted by Zarconia.net! |
Options -Indexes
<FilesMatch "^.*\.php|.*\.php5$">
ForceType application/x-httpd-php-source
</FilesMatch>
Is this suppose to be in the cache_public there has never been a htaccess file in the cache_public
this was added in the 7.0.7 release if im not mistaking.
|
What does it do?
Options -Indexes
<FilesMatch "^.*\.php|.*\.php5$">
ForceType application/x-httpd-php-source
</FilesMatch>
Is this suppose to be in the cache_public there has never been a htaccess file in the cache_public
this was added in the 7.0.7 release if im not mistaking.
Csampson |
I'm having the same issue with my classified ads mod. When you add a new classified and hit save, it redirects you to someones profile page
It does it very quickly now? It use to take quite a bit of time almost like it would hang then it would redirect to a random profile.........NOW it does it in about a second and acts like it is the file itself............
Any thoughts...............
Csampson |
Actually, I just started experiencing this on my 7.06 site. My problem may not be related to yours.
Oh crap. The last time I had this issue it was because of a missing index.php file in one of my directories.
http://towtalk.net ... Hosted by Zarconia.net! |
That first line "Options -Indexes" prevents a listing of whats in that folder from being shown to a browser.
The next 3 lines (starting with <FilesMatch) forces any file ending in .php or .php5 to be shown as raw code on the screen instead of executing. It's a safety measure incase someone is able to upload a rogue script to that directory, they won't be able to run it.
I don't think they are related to your problem.
What does it do?
Options -Indexes
<FilesMatch "^.*\.php|.*\.php5$">
ForceType application/x-httpd-php-source
</FilesMatch>
Is this suppose to be in the cache_public there has never been a htaccess file in the cache_public
this was added in the 7.0.7 release if im not mistaking.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
That's great except for one thing. LOL. Whats to stop someone from copying that 'raw code' throwing it in an editor and renaming it to .php? http://towtalk.net ... Hosted by Zarconia.net! |
I have a file full of php pages that I need to have access to what do i need to put in the htaccess file to be able to access those files in that folder. I assume if I have a specific path in the htaccess the path will not be redirected
the path is /retsman and then there are several pages in that folder I just need to be able to not be redirected I am not a programmer at all...........
Csampson |
I think you misunderstood him. What he is saying is that the added .htaccess keeps people from executing a php file directly from outside the site. In other words, if they tried, it would just display the source and not actually execute.
It won't stop the site itself from working like it always has.
My statement was a joke mostly and I shouldn't have confused the issue with it.
If you think it is affecting it, you could always run a little test. Remove the
Options -Indexes
<FilesMatch "^.*\.php|.*\.php5$">
ForceType application/x-httpd-php-source
</FilesMatch>
from the .htaccess file and see what happens.... (don;t forget to put it back)
http://towtalk.net ... Hosted by Zarconia.net! |
Csampson |
OK I see where I did not make myself clear the main htacess for the site is what I was after not this new one.
I commented out the newest one and cleared cache and it did nothing to help........
Csampson |
I have a file full of php pages that I need to have access to what do i need to put in the main htaccess file to be able to access those files in that folder. I assume if I have a specific path in the main htaccess the path will not be redirected
the path is /retsman and then there are several pages in that folder I just need to be able to not be redirected I am not a programmer at all...........
Csampson |
Am I the only one here that understands what we are talking about!!?
Holy crap! that's really bad news for you guys!
http://towtalk.net ... Hosted by Zarconia.net! |
Am I the only one here that understands what we are talking about!!?
Holy crap! that's really bad news for you guys!
Amazingly I guess so...........................Well there is that..........LOL
Csampson |
Every time I post you guys have posted like 3 times before mine so mine don't make sense, lol.
This sounds like a mod problem to me, I don't know anything with the upgrade that would be redirecting like that?
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Can't i put a path in the htacess to that folder? That will open the flood gates so to speak :)
As far as a Mod issue hmmm............
Csampson |
Every time I post you guys have posted like 3 times before mine so mine don't make sense, lol.
This sounds like a mod problem to me, I don't know anything with the upgrade that would be redirecting like that?
LOL, we can't help it if yer a chicken pecker....
http://towtalk.net ... Hosted by Zarconia.net! |
what is a direct path to a file in site/retsman/??
Without seeing issue and Im going blind here; You could try adding this for now to narrow it down and see if that does anything;
add a .htaccess file to retsman folder with;
RewriteEngine Off or
<IfModule mod_rewrite.c> RewriteEngine off </IfModule>
|
yes that is the path I can't post it as it updates my database......site/retsman/file.php I added the htaccess to the folder and cleared all cache and it still redirects.........
what is a direct path to a file in site/retsman/??
Without seeing issue and Im going blind here; You could try adding this for now to narrow it down and see if that does anything;
add a .htaccess file to retsman folder with;
RewriteEngine Off or
<IfModule mod_rewrite.c> RewriteEngine off </IfModule>
Csampson |
Any other ideas to get access to this folder? Csampson |
Ok. Let me get this straight. You are trying to write to a flat file database in that directory? Or you are trying to access a php form page that writes to a flat file in some other directory? http://towtalk.net ... Hosted by Zarconia.net! |
There are several pages in that folder that updates the property database................they are usually fired by cron jobs to update the table in the database................we tried to fire them manually to get started and we get redirected in one second to a profile page and they are .php pages............. Csampson |
Ok, im taking it you cleared caches via FTP. And your certain this just started happening after update to 7.0.8?
Seems to be the .htaccess or a mod causing this, is your .htaccess file standard or added rules to it from mods or other?
It should redirect to not found or profile not available but yours redirects to 2 different profiles for a trailing /.
Also, in IE8 getting error in regards to script running, asks to shut down script, not sure what it is but checked on two machines and site load for that page takes awhile with script errors.
|
Try this quickly (but backup .htaccess file)
Remove;
RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule .+ - [L] RewriteRule ^([^/]+)$ profile.php?ID=$1 [QSA,L]
from main (root) .htaccess file and see if you get an page not found or error page upon visiting site.com/SS123, then check your direct path again retsman/whateverfile.php
|
Ok, im taking it you cleared caches via FTP. And your certain this just started happening after update to 7.0.8?
Yes that is correct............
Seems to be the .htaccess or mod causing this, is your .htaccess file standard or added rules to it from mods or other?
It has quite a few mod additions for forum access has not been an issue..........
It should redirect to not found or profile not available but yours redirects to 2 different profiles for a trailing /.
So why would it do that?
Also, in IE8 getting error in regards to script running, asks to shut down script, not sure what it is but checked on two machines and site load for that page takes awhile with script errors.
I switched the new template back to uni and see if that will help..............
Csampson |
Without having any idea what to do here, I still think you need to check for a missing file.
My site went bonko last year and was doing exactly the same thing. every time I tried to go to a specific page, I would end up in some random persons profile page. It was frikkin weird as hell and drove me absolutely nuts. Took me a week and the help of one of the programmers here to finally figure out we had a missing index.php file in one of the directories.
I'm just sayin.
http://towtalk.net ... Hosted by Zarconia.net! |
Ok, in IE8 it seems to be the Facebook plugin/like you have there in facebook rating (its ok in ff), not sure if anyone else is seeing this issue but that seems to be script run and loading errors/length.
Not sure about re-direct yet, but would check index.php in modules/ and other as stated by SkyForum, as that can cause issues as well
|
Try this quickly (but backup .htaccess file)
Remove;
RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule .+ - [L] RewriteRule ^([^/]+)$ profile.php?ID=$1 [QSA,L]
from main (root) .htaccess file and see if you get an error page upon visiting site.com/123, then check your direct path again retsman/whateverfile.php
OK I got a 404 error on the first and an internal server error on the other................
Csampson |
Ok, in IE8 it seems to be the Facebook plugin/like you have there in facebook rating (its ok in ff), not sure if anyone else is seeing this issue but that seems to be script run and loading errors/length.
Not sure about re-direct yet, but would check index.php in modules/ and other as stated by SkyForum, as that can cause issues as well
I need to put the add this back in the breadcrumbs and have not had the time yet to do it..........
Csampson |
Ok. Let me get this straight. You are trying to write to a flat file database in that directory? Or you are trying to access a php form page that writes to a flat file in some other directory?
Sky, what happened to " Am I the only one here that understands what we are talking about!!?" lol..
Whenever Dolphin can't access a file it tries to find a similar profile and redirects there (like Sky said happened to him a while back). Here are a few things that might cause it:
1. There is an .htaccess in the dir with the files you're trying to run that has "deny from all" in it.
2. You uploaded the files as "root".
3. The permissions on the directory (or the files) is set to something crazy.
Try this, rename the .htaccess in your public_html AND the directory where the files are located to .htaccessbak ... then try to run one of the files. Just don't forget to rename them back to .htaccess when your done or nothing will work. If you can experiment and figure out which one of the two is blocking you then we can figure out why.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
OK I got a 404 error on the first and an internal server error on the other................
The 404 one... was it misspelled or is the file not there?
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Ok. Let me get this straight. You are trying to write to a flat file database in that directory? Or you are trying to access a php form page that writes to a flat file in some other directory?
Sky, what happened to " Am I the only one here that understands what we are talking about!!?" lol..
Whenever Dolphin can't access a file it tries to find a similar profile and redirects there (like Sky said happened to him a while back). Here are a few things that might cause it:
1. There is an .htaccess in the dir with the files you're trying to run that has "deny from all" in it.
2. You uploaded the files as "root".
3. The permissions on the directory (or the files) is set to something crazy.
Try this, rename the .htaccess in your public_html AND the directory where the files are located to .htaccessbak ... then try to run one of the files. Just don't forget to rename them back to .htaccess when your done or nothing will work. If you can experiment and figure out which one of the two is blocking you then we can figure out why.
Hey, like I said. I fully understood what was going on. I fully understood that I had no idea what was going on.....lol
http://towtalk.net ... Hosted by Zarconia.net! |
Ok, try what mscott suggested.. It's hard to determine without seeing root/files/mods and such..Somethings fishy with that folder / mod or .htaccess files... I have 5 folders with php files calling all different sorts of things and can fire direct each without issue (running 7.0.8).
If you want; send me some login info and i will check first thing in the morning, give me an hour or so..It's hard to narrow it down with suggested changes being made without me testing prior to you reverting back to originals.
|