Deploying a cakePHP app on cpanel - cakephp

I need guidance on how to host a cakephp app on cpanel. Apparently when I put my app on a shared server I get an error missing controller and yet all was well when running the app on localhost. please help

cPanel is just a control panel for your box and makes to change set to Apache or light speed that you couldn't do without it. That being said, the only things I would check first would be to check your database connection, makes sure your server has mod_rewrite enabled and that you're using a compatible version of php for cakephp AND your plugins.

Related

How to see if gatsby-plugin-offline is working

I am new to Gatsby so please bear with me.
I want to add offline support to my app such that if a user were to try access it while offline (after having visited it online) it would still show up.
Would gatsby-plugin-offline help me achieve this?
If so, how can I try this out? So far I have tried using the plug-in in my app (all default settings), building the app and then serving it locally on my computer at http://localhost:9000/. When I stop the dev server and try access http://localhost:9000/, it does not show up. How can I test to see if this plugin works?
After gatsby build the public folder should include sw.js file.
Otherwise, you can find whether the service worker is registered on not at Chrome Dev Console over Application > Service Workers.

How to repair Web Setup Wizard redirecting to 404 Not Found in Magento CE 2.2.5/2.2.6?

This is a very critical issue.
I recently upgraded from Magento CE 2.2.5 to CE 2.2.6 using the Web Setup Wizard.
The upgrade went fine and the site is working.
When I try to access Web Setup Wizard in 2.2.6, I get a 404 Not Found response.
What I already tried:
I removed all files and contents from /var/
I cleaned Magento cache
I tried accessing the setup from a different browser
Tried solutions such as accessing through http and https and activated/deactivated HTTP Strict Transport Security
The Document Root points to /path/to/magento/ and not /path/to/magento/pub/
Please note that I have a test instance on a different machine, this one was upgraded to 2.2.6 using composer. On this instance, /setup/ is working fine.
Any suggestion?
It seems that you have tried almost everything.
You can also try to check the access to the setup folder in the root folder of Magento, and check the rules in the .htaccess file there. Hope it will help you.

Alfresco ADF login issue

I'm currently trying to get along with the Alfresco development environment but after installing properly Alfresco ECM, I'm stuck after having generated the demo app with yeoman.
I can't find the password despite that I've always put admin/admin in anything I've installed.
Alfresco ADF login page
Moreover when I generate an app from the github repository demos like the datatable for instance,
Files from the ng2-component datatable demo
It doesn't give me anything when I start it just a blank page at localhost:63621
I sincerely hope that anyone can help to resolve those issues which I believe may be linked.
P.S : besides that, everything works properly, the Share webapp works perfectly(I can log in with the users I created in it), even BPM (Activiti) that i wanted to try.
There are a couple of things that you can check:
If you are executing the FE and BE from different domains try to follow this guide:
https://community.alfresco.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2FAlfresco%2Falfresco-ng2-components%2Fblob%2Fmaster%2FALFRESCOCORS.md
check the url it the settings for the Content service and Prcess service are correct.

How to get BlogEngine.NET to run outside of a local environment?

I am trying to run BlogEngine.NET. It works fine locally in Visual Studio but whenever I publish it outside of my local computer none of the posts are showing up.
I think this is because none of the scripts or CSS are being loaded (the posts are done via AngularJS). I've made sure that the read and write permissions are allowed in IIS so I know that isn't the problem.
I believe that AngularJS isn't loading properly, as when I go to the admin panel the url returned with the 404 error is this:
8926/admin/%7B%7BSiteVars.RelativeWebRoot%7D%7Dadmin/#/dashboard
instead of:
8926/admin/#/dashboard
Even If I manually take out all of the %7B%7BSiteVars.RelativeWebRoot%7D%7Dadmin text, the posts still don't show up as they do locally which leads me to believe the posts are also tied to AngularJS as well.
Does anyone know how to fix this? This may not be a BlogEngine.NET problem as much as it is just a loading of Javascript and CSS problem inside of IIS
The documentation for my project is here.
BlogEngine.Net had moved to GitHub that is where the latest updates are at.
Best to go here:
https://github.com/rxtur/BlogEngine.NET
and try again with a fresh install.
I have a fresh install working with no issues here:
http://blogengine07.azurewebsites.net
Took a total of around 30 mins to it it 100% up and running, creating new web app service,database, change web.config, publish to Azure, and making some changes in settings.
What web host are you using to host your website?
You can also try Azure Web App Service for free here:
https://azure.microsoft.com/en-us/try/app-service/web/?language=cs
If you can get it to work there but not at your current web host then that points to a web server issue, since you are able to run it locally and on Azure.
Hope this helps.
Have a great Day!
Brian Keith Davis

connection between postgresql db and application(jsf+hibernate) running on cloudfoundry

The application(JSF+hibernate) is been deployed using the vmc commands as on the cloudfoundry site. able to see the welcome page. postgreSQl service is binded with the application but the application is not able to connect with the database.
And also viewed about the VCAP_SERVICES using java but dont know much about it rather how to create it.
Cloud Foundry uses auto-reconfiguration if you have one service (either MySQL or Postgres) bind to your application. That means you don't need to touch your code at all!
Please review the following article on our docs site:
http://docs.cloudfoundry.com/frameworks/java/spring/spring.html#using-cloud-foundry-services-in-spring-applications
If you still have issues, go ahead and upload a war file of your app and we can take a look.

Resources