nginx codeigniter subdomain gives error 500 - codeigniter

Alright,
So my main site, yorkdigitalsolutions.com is using codeigniter, on nginx and everything works perfectly, I got the redirect and all working perfect.
So I do the same for a codeigniter project I am working on, and I put it to my test subdomain etienne.yorkdigitalsolutions.com, and create the A zone like I should in Linode's dns manager and when I have just a flat html file, it all resolves and works nice, otherwise with the codeigniter project, I get error 500.
Where should I start looking for the problem?
Thanks

Alright,
So it turns out that if you need something (like a database) and codeigniter does not have access to it, it will throw out error 500.
Hopefully this helps someone in the future

Related

Magento 404 error page frontend

I noticed that Magento throw back a 404 error when trying to access the website from other locations. This only happenes on frontend. Backend can be accessible from all over the world. I don't know what's wrong.
I can access the website just normally without any problems! I can access the website even at home without no issues!
The Website is: borika.de
No restrictions have been noticed. Does anyone have an idea how to solve this issue?
Thanks
Please check could you make a condition of your index.php or try to replace with another same version index.php may be it will help
I recently deactivated other languages. This was the problem! This is the only solution that worked for me: Magento returns 404 error on all browsers except Firefox.

Magento front end not redirecting properly on localhost. But admin works

Hello I currently backed up my magento files on my live server to put them on my local server. My backend seems to be working fine but my front end doesn't. This is the message I get
"The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
This problem can sometimes be caused by disabling or refusing to accept cookies."
I would be glad if someone could help me. Thank you.
ok so after hours of fidgeting around with the back-end and database. I made it work by making changes in the config_data file in the database. One has to make sure he replaces all urls to local. I had redirected the urls earlier but I just found out i was missing one. In the last row of that table.I hope this helps someone.

CodeIgniter installation questions

When I upload the CodeIgniter package to my web server on Bluehost, I can get into the main page, but not sure if this is all I have to do.
I've read many questions here about the same issue, but nothing worked for me. As I understand that I have to add some code .htaccess codeignitor code to the root .htaccess, but that made a mess in my url redirection.
I verified that mod_rewrite is working fine through some php code, but still unsure about the installation procedure. did any have this framework works on his Bluehost webserver??
I found the installation guide on this site, but the test fails back to 404 page.
By the way, I uploaded the package on a subdomain folder
Any comments are appreciated.
That's nothing wrong with Bluehost.. I've upload my CI into a subdomain folder in Bluehost. and nothing wrong.. It work perfectly..
Some questions :
Do you set your base_url correctly? or you can leave it blank.
Are you sure you've write the right .htaccess, and put it in the right place? make sure the index page in the config file is blank.

Cannot create a controller in Magento

I'm a beginning Magento programmer. I used to access the backend as localhost/magento/admin and everything was working fine on WAMP. I could access any route I set up in config.xml as localhost/magento/(frontName) and my controllers were working fine.
Then I was trying to get Zend Debugger working with Eclipse, and in the process I fiddled with things, reinstalled WAMP and Magento a couple of times, installed Zend Server CE and later removed it, and MAYBE fiddled with some settings - don't remember exactly what I changed.
Ultimately, I'm back on WAMP, but now localhost/magento/admin is broken and the backend must be accessed as localhost/magento/index.php/admin, which is ugly. Also, I can't get any routes working. localhost/magento/(frontName) is broken, localhost/magento/index.php/(frontName) gives a 404 error within Magento.
I've been trying to fix this for nearly 2 days now; I'd be grateful for any help. Sorry about the n00b question.
And you are sure the mod rewrite is enabled? Can you get to the frontend at all? do you have sample data installed can you get to any products or categories?
you probably didn't understand very well how works exactly the config.xml in your controller. look at http://www.pierrefay.com/magento-create-controller-36
good luck

xajax and codeigniter - blank page and xajax request URI error

I am unfortunately getting a blank page when trying to run a site locally. There are other people running it locally just fine, so I am wondering if it could be something to do with my LAMP environment.
When I attempt to load the site, it's nothing but a blank page. I've ran php index.php in console and the error I get is the following "xajax Error: xajax failed to automatically identify your Request URI.Please set the Request URI explicitly when you instantiate the xajax object.". I'm not quite sure how to handle this in CodeIgniter and or at all to be honest.
I think it's a problem with LAMP configuration: check codeigniter folder permissions (add write permission to "logs" folder.
Thanks for your answer. I actually figured out what the problem was, it was like you said a problem with my LAMP configuration. Unfortunately XAMPP (which is what I am using and or was), the newest version uses PHP 5.3. Xajax doesn't support PHP 5.3 and this was causing the problems. After I went to an older version all was well!

Resources