I am working on the codeigniter framework to make a cms.During development i.e. running the site on my localhost i had two controllers and both worked fine.But now that I have uploaded it to a server it doesnt run the second Controller..
Someone having any idea regarding this please help!!
If your page shows blank page then there might be possibility of php code error
Please try with enabling error reporting on from your index.php at the top level by following code
error_reporting(E_ALL);
ini_set('display_errors',1);
If there is any code error, it will display you error with detail
Hope this will help you
Related
enter image description here
I get this error in PHP storm. I am learning Laravel and can someone please help me with this error. The route is not defined.
Please see the attached screenshot.
No worries. Php-storm doesn't see some of the laravel facades static classes. (e.g. 'Route::', 'Auth::'). Your code will still run fine (provided there aren't any real problems).
PS - If you haven't done it yet, install the phpstorm laravel plugin. It will help eliminate some of these issues (but not all).
Have fun!
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.
I've developed a magento website with the fishpig extension, and as soon as I turned on my Lesti's FPC, i got a white page without any errors on the homepage.
I've managed to trace the error down to the post collection, but I don't know how to fix this issue. Someone had any experience with this?
This is what my post collection looks like:
<?php $posts = Mage::getResourceModel('wordpress/post_collection')
->addPostTypeFilter('sliders')
->load();
?>
I'm pretty sure this error has nothing to do with Lesti FPC. If you have a white page without any errors, this just means that an error has occured but your PHP error display settings prevent it from being displayed. To display the error, open up your Magento index.php file and uncomment the following line:
ini_set('display_errors', 1);
This will reveal the PHP error message. That being said, your issue will probably be fixed by performing the following steps:
Upgrade Magento WordPress Integration to the latest version. Also update any add-on extensions for Magento WordPress Integration.
Check System > Configuration > WordPress for any errors/warnings and fix every single one.
Check var/log/ for a wordpress.log file. Delete this file and then go back to the page that triggers the error. See whether any new errors are added to the file.
Please perform these 3 steps (these steps should be followed for any error with Magento WordPress Integration) and see whether the error persists. If the error does remain after following these steps, please update your question with the specific error message (but only after following these 3 steps).
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
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!