ModX Revo: friendly URLs not working - .htaccess

This seems to be a common issue but I have tried all the suggestions and none work.
The issue is when I turn on Friendly URLs in ModX Revo all my links get broken (404s). The URLS do appear correct with the alias after them.
Heres what I've tried:
Changing ht.access to .htaccess
Ensuring the correct path is present in MODX_BASE_PATH in the
confic.inc.php file
Ensuring all FURL settings in System Settings are ok and correct
Clearing browser and ModX caches
If anyone can suggest something I've missed that would be great! Thanks

Need some mroe info:
Are you developing locally (WAMP, MAMP..)? If you are make sure that you have mod_rewire enabled in your apache settings. If not make sure it's enabled with your host.
Are you typing the urls in the browser manually (without wayfinder)? (www.yoursite.com/somepage)

OK I set FURL Lowercase Alias's to 'No' in the ModX System Settings and it now works... I do not know why but there you have it...
Perhaps this is because I specified the Resources Alias' before I turned FURLs on and thus they did not actually convert them to lower case

I realize this is an old question but I just install REVO tonight and had issues with FURLs returning 404 errors after I enabled all the settings. What I DIDN'T do was rename the htaccess. Once I renamed that to .htaccess everything is fine. Stupid mistake made with too little sleep but I thought I should post it in hopes I can save someone some wasted time.

Related

How to use htaccess to redirect link to subfolder

On my development machine my project is located at localhost/myproject. Something weird has been happening lately. Every time I type localhost/myproject/user/home.php, I get redirected to a total stranger's site at bookmark.com.
Couple people seem to have run to a similar problem in this thread and this other thread which appears to be the same.
So I did everything suggested... Removed all extensions, check the hosts files, ran all possible malwares antivirus, checked if my DNS was compromised...
Nothing worked for me. And everything seems fine. I even restored my pc to a previous working point in time... Still the problem persists when I'm trying to access the user folder.
Is there a way I could rewrite the path with .htaccess? What do you suggest I do?

phpmyadmin index.php file disappeared

I am having a very strange problem.
I am having a Debian machinem,
once in a while the index.php file of my phpMyAdmin disappearing, and I need to reinstall / copy it back.
I don't know what causes this weird behavior.
and I thought that maybe someone had hacked to my machine, so I had tightened my iptables rules. and set the permission on the index.php file to read only for user,group,and everyone.
And still it been deleted today.
I don't know what to do, I had googled to see if this might happend because of bug of any kind, or software update. but couldn't find any hints.
So here is my question:
1. does anyone encountered such behavior?
2. if someone hacked into my server how can I find it? (there is no unknown login in my logs, and I had checked all the IP's of the logins seems to be a valid known my IP's)
3. how can I find out what is deleting or causing this?
Thanks in advance,
it seems my machine was hacked, so I had just created a new machine with tighter security and this never occurred again up to now.

Getting started with yiiexcel extension

I have a hurdle, seem can't get to internalize how to setup yii excel onto my web application.
I tried to follow the guidelines, however, there is something I can't understand as stated from this guide. To which index.php was it referring to?
http://www.yiiframework.com/extension/yiiexcel/
Edit index.php file and register the YiiExcel autoloader:
Is there anyone here who was successful to install and use the yii excel extension for yii, can you please lend me a hand.
Been working on this for days now, and seem to end nowhere as it is apparent that I don't know what is happening.
that is the entry point of your application
root
-- index.php <-- this file
------protected
------images

Codeigniter - No Data Received - Not Chrome related

I've found plenty of versions of this questions, but neither seem to go further than an apparent Google Chrome bug.
What happens is that whenever I copy a codeigniter setup to a new folder on my server, to start a new project based on it, I get "no data received" in any browser I try it on.
The strange part is that the problem is solved if I go into each file that gets include()-d, add or change something irrelevant (like a blank space) and save the file. I don't know why, but this makes that specific include() work. Otherwise, the script stops before it.
There's nothing logged in the server's access or error logs so I can't figure out what the problem might be.
Needless to say this has been driving me crazy. Any suggestions?
Thanks!
My sysadmin figured it out. It was related to system wide APC cache. I used apc_clear_cache() at the top of index.php and everything works like a charm!

Drupal menu items and blog entries disappeared for anonymous users

I've been struggling with a problem now for a few hour and I cannot find any answers or anyone with the same problem -
Some menu items are missing on my site www.namhost.com (Drupal 6.22) and when viewing the blog it shows "No blog entries have been created". When I log in as admin everything works fine, so this problem only occurs for anonymous/guest users.
I've changed nothing on the site which may have caused this problem and here comes the really strange part - When viewing a copy of the site locally everything works 100% even for anonymous/guest users.
I've tried:
flushing caches
rebuilding permissions
checked if the "anonymous" user is present in the database
viewing on different browsers
None of these yielded any results.
Because the problem doesn't occur locally I'm starting to believe this could be a problem on the server the site is hosted on (Linux with PHP5.2), but the admins had a look and couldn't find anything.
Any help/insight would be highly appreciated.
================FIXED<<<<<<<-----------------------------
I am not allowed to answer my own question and it was suggested that I edit the question to include my answer so here goes:
Firstly, thanks for all the responses.
I disabled the "ACL" module (http://drupal.org/project/acl) and the problem was solved. It was previously used for our forum which was also disabled a few months back, so it's not needed any more.
I still have no idea why this module caused the site to work locally but not on the server. I will be in contact with the server admins to find out if they changed/updated anything on the server which may have caused this module to cause a malfunction.
Any insight could still be helpful top prevent this from happening again.
Check your Drupal config:
Are you using node_access, content_access, or any other permissions-related addon mods? Disable them and see if the problem persists. If that doesn't work, disable all non-core mods and re-enable them one-at-a-time until you find the offender.
Compare your hosting configs:
If it's not related to Drupal, compare the local and remote server configurations. Do both use the same versions of php, apache, apc, cgi, etc.? A phpinfo(); on both servers should give you the most important details for comparison. Do a similar comparison of the MySQL setup and content. Finally, check for differences in your .htaccess files (if any) between the two locations.
Test another hosting enviornment:
Download a virtual appliance like QuickStart which is already configured to host Drupal sites for development and non-production purposes, and see if the site works correctly in that. If it does, you could do an additional validation by porting to a new host who offers a trial/money-back-guarantee and see if it works correctly there.
If your site works fine elsewhere, give your current host a good thrashing for making you go through all of this to figure out the problem lies on their end.

Resources