Phpdesktop running codeigniter - codeigniter

I'm using PHPDesktop for my project. My application was developed in codeigniter. Everything was fine, then I changed to phpdesktop, I did some configurations but only the first page is working, when I change to another page, only shown a blank page with no errors, some ideas?

See Codeigniter example configuration for phpdesktop: https://github.com/cztomczak/phpdesktop/wiki/PHP-frameworks-support#codeigniter
Also check debug.log file or enable debug console in settings.json.

Related

TYPO3 6.1 + macina_banner 1.5.3 : Redirect fail after migration to HTTPS

TYPO3 6.1 + Macina banner
macina_banners 1.5.3
Tested on Chrome and Firefox
I use EXT: macina_banners to display banners
Everything was working fine until I switched to HTTPS.
After migrating to HTTPS, redirect stop working
Since I changed to HTTPS, a click on the banner reloads the same page, and redirect does not work.
When I am logged in TYPO3 backend, when I click on the banner it still reloads the same page, but if after that I reload the page with ctrl+MAJ+R, I am redirected to the target page.
If I reload the page with ctrl+MAJ instead of ctrl+MAJ+R, it just reloads the same page with no redirect.
I am a bit confused because It looks like a cache issue, but the problem appears only with HTTPS, and everything works fine with my dev website which is HTTP.
I have checked the ext code, I didn't find anything (but I am not a php expert).
I have deleted the content of typo3temps, it didn't solve the problem
Any idea what could be the problem or where to investigate?
Summary :
Not logged in the backend
When reloading page with ctrl+R, reload the same page: KO
When reloading page with ctrl+MAJ+R, reload the same page: KO
logged in backend
When reloading page with ctrl+R, reload the same page: KO
When reloading page with ctrl+MAJ+R, load the target page: OK
Please Update TYPO3 version 6.1 does not get any security updates. This means you running an security risk. And might be liable. And my guess not many active community members are able to help you as your versions are ancient

No backend styling in OctoberCMS after deploying on IIS

I'm having a problem with the backend when I deploy my site to the IIS of my web host, it has no styling. At first I had this problem with my entire site but then I added the IIS configuration code from the documentation to my web.config file in the root map and it fixed the front-end but the backend is still broken. I can still login but there is just no styling, it's a bit difficult to navigate the backend that way ;)
Here is some more info:
PHP version 7.0.19
October system build 419
IIS webserver
This is how my backend login screen look right now
I added some other code snippets that I found on the internet to my web.config file but that didn't solve the problem. Has anyone encountered the same problem? If so, could you tell me what might fix this?
Edit: Chrome Network Tab
To deploying your octobercms to server, you need to change the url parameter in config/app.php file. It's should look like this:
'url' => 'http://yourdomain.com/',
Don't forget it should contain http:// or https:// string.
Hope it helps

Joomla com_users component unable to load some templates

I have modified the users component of Joomla, specifically the file components/com_users/controllers/profile.php and included some custom templates in components/com_users/views/profile/tmpl
It is mostly some forms which I am submitting and then redirecting to specific pages for further actions.
Example scenario :
Above option is accessible to user right after login. I have put it on the profile page by modifying default profile template.
So when someone enters a name, and presses search, then this form is submitted through form
action="<?php echo JRoute::_('index.php?option=com_users&task=profile.selectSendMessage'); ?>"
This in turn calls the function named selectSendMessage which is placed in profile.php file. The function looks like :
As you can see the function redirects to
index.php?option=com_users&view=profile&layout=sendMessage
I have placed sendMessage.php template in com_users/views/profile/tmpl
Everything works fine on localhost which I have set up on MAMP in MacOS
I moved the website to a live server a few days ago. I have followed all proper steps to migrate website and database from localhost to live server. Still any of the custom templates I have put in are never reached.
The strange thin is that Edit User Profile which is redirected to from the same profile.php file from a function edit(), with template in the same location as I have put in edit.php in views/profile/tmpl works as expected.
I am using 1and1 shared hosting plan 1&1 Unlimited for hosting the website.
I have been trying to fix this for quite some time now, but cannot understand the problem. I have tried reinstalling the website several times, tried installing from web apps from 1&1 control panel and modifying it, but no success.
Any tips and insights are welcome. Thank you.
It turns out that 1and1.com hosting somehow doesn't support layout names with a capital letter in it. I changed all layout names to lower case alphabets and everything worked fine like it should.
If someone faces the same issue, this is worth a try. It was particularly hard to debug since you will never suspect that could be a problem. I accidentally stumbled on the solution while playing around.
Thanks.

Different Controller not running.. Codeigniter

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

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