PhpStorm crashing whilst indexing Laravel - laravel

I am running a 5 or 6-year-old Dell laptop the Inspiron 3521 with Ubuntu 14.04 - yes I know it's old.
I have been using PhpStorm on small projects with no issues. However I am just getting into Laravel and have initially it up on a virtual machine with Laravel Homestead. All good so far: I can view the base Laravel website on my host machine.
Now I think to myself lets create a project using the synced Laravel directory on my host machine as the base. This is where I run into trouble. Crash Crash Crash. I thought at first the issue was that I had opened PhpStorm as a user with insufficient permissions for the directory and the files. So I deleted the .Phpstorm config and system files. No joy.
Could it be a memory issue I asked myself being an older machine - I had not had this problem previously when using PhpStorm. So I enabled some Swap memory.
I am at this point baffled and will think about using Sublime or some other IDE.
Anyone out there have a similar experience. Am I going about something in the wrong way looking to create a project with the synced directory, is there a more clever way of going about this?
Here is the Java error log hope it makes sense to someone :)

Related

How to install Coldfusion on Mac OS X 10.15 Catalina using external virtual host

I've been here before and even wrote an article on how I was able to connect Coldfusion 2018 with Mac OS X Mojave, but since the upgrade to Mac OS X 10.15 Catalina, I haven't been able to get Coldfusion to work correctly on virtual hosts (ie. http://local.mylocalsite.com).
Goal: install Apache connector for Coldfusion so that I can run my dev site from within the /Sites folder like I would any other site.
Problem: Apache is working and I can access websites from the /Sites folder using the virtual host (ie. local.mydevsite.com), but although Coldfusion is running (I can access the Coldfusion Administrator), my computer does not seem to recognize that Coldfusion is supposed to run. I don't know if this is Apache or Coldfusion's responsibility.
What I've tried: I've tried using the GUI connector, as well as trying to confirm the settings via command line. I have XAMPP installed, which I believe that DesktopServer (an application by ServerPress) is relying on, but that's probably not relevant; but what I'm getting at is that I believe XAMPP relies on Mac's default installation of Apache.
I've also tried to go into every file that is referenced in any instruction document to determine if there is anything out of place. Part of my confusion is that there are many instances of some of these files and I'm not sure which one is active. Here are some of the files I've looked into:
/Applications/XAMPP/xamppfiles/etc/extra/httpd-vhosts.conf
/Applications/XAMPP/xamppfiles/apache2/conf/httpd.conf
/Applications/XAMPP/xamppfiles/apache2/conf/mod_jk.so
/private/etc/apache2/httpd.conf
/private/etc/apache2/mod_jk.conf
/private/etc/apache2/extra/httpd-vhosts.conf
From what I can tell, the main settings for Apache are stored in the /private/etc/apache2 folder, but I want the XAMPP version of https-vhosts.conf because that's where DesktopServer is pulling their virtual hosts from. Regardless, I don't think it matters which vhosts file is being used because Coldfusion won't run on any of the local sites from my /Sites folder that are loading correctly when I visit local.anylocaldevsite.com.
Thoughts? This is either a really dumb question because no one else is asking it, or there aren't many Mac users who also use Coldfusion. Would love assistance if anyone has a clue. Thanks!
Update: This isn't an exact answer, but the recommendation to try CommandBox was a win. I installed CommandBox and then ran the "ColdBox" application in the root of my project and the site opened up in my browser like a gem. Wonderful. Thank you! I can call that the "answer" if no one objects, but I know that it's more of a workaround than an exact fix.

PostgreSQL mac base permissions error

I'm having an issue of running off a postgresql database backup that I brought over from a failed Mac. The database was running just fine on the last few days of the previous Mac, but since I've transferred it over, configured the settings, and installations to match the old server. I keep getting a permissions error when booting up the PostgreSQL service. Does anyone have an idea as to what is causing this? The error is below.
Could not access directory "base/12181": Permission Denied.
I've gone through, and even downloaded the same version, binaries, and matched everything that I could. To which I still can't figure out what is causing this. All applications have full permissions to access the necessary folders, and I'm at a loss at this point. Any tips on what to look for, or do would be most helpful.
Thanks!

Vagrant box running CentoOS on Windows is really slow - any ideas to speed it up

I have vagrant installed on my Windows 7 machine, currently it has an installation hooked up with VirtualBox & a CentoOS install.
While it everything does work, and the server is all configured and the PHP is running ok it really does seem to crawl. I currently have a development version of Magento on here and it is much much slower than I would expect. Occassionally some pages (the checkout ones) can take up-to 2 minutes to process and bring the user to the next page, obviously this makes development very frustrating and slow.
Can anyone suggest any ideas on the best way to optimise my vagrant box?
p.s i've not set this up myself so i am not fully aware of all its configs/settings etc...
Magento has a lot of files, and Virtualbox file share mechanism between Linux and Windows is very slow. Workaround is to use samba saerver on guest and mount it on host.

Unable to start applications from network "0xc0000006"

I can't start applications from a network share or drive. An error Appears saying that the application was unable to start 0xc0000006. If I copy the .exe on my desktop it works fine.
I tried to start Windows in safe mode and it works too.
My machine run on an HP laptop core i5 with Windows 7 SP1.
Any idea?
EDIT:
I found my problem: It's a bug that append sometimes with Kaspersky endpoint Security v.10. I just uninstall this version and install an older version (v.8). I hate Kaspersky...
Hope it will help someone!
0xc0000006 is an NTSTATUS code. Specifically it is STATUS_IN_PAGE_ERROR.
It is not uncommon to see these errors when you attempt to run an executable from a network volume. For whatever reason, if there is any even intermittent problem accessing the network volume, then you may see this error. When a module is loaded, the code is not physically loaded until it is needed. A memory mapped file is created, and when a particular page is needed, it is brought into physical memory on demand. If your network fails to meet this demand, your application stops with STATUS_IN_PAGE_ERROR.
The common ways to deal with this include:
Getting a more robust connection to your network volumes.
Copying the executable file to a local drive and running it from there.
Adding the IMAGE_FILE_NET_RUN_FROM_SWAP flag to your PE file options.
Thank you for your replies.
I solved the problem by uninstalling Kaspersky end point 10.
My colleges have the version 10 of kasperky and it works but not for me.
I will install an older version waiting for kaspersky v 11.

Custom Magento templates not picking up

I'm trying to make some changes to the navigation in my custom theme... /app/design/fontend/mypackage/default/template/catalog/layer/view.phtml
but the changes don't seem to be taking effect on my site. I've tried it for other templates as well but I'm getting the same issue. The funny thing is that template files that I've edited previously seem to work (header.phtm, footer.phtml, subscribe.phtml and more), but anything that I add into my theme today doesn't seem to be getting picked up. Cashing is definitely turned off, it's been off sinse I started working on the project. I've built Magento sites before and never had this issue.
I'm currently running it on an Ubuntu server in VirtualBox, but this has always worked fine in the past. I've tried restarting apache and rebooting the server too but no luck.
Has anyone else had this issue?
Ok... so this morning I turned on my PC and booted up my VM and everything seems to have sorted it out. I think it was probably a VirtualBox issue. I will have to look into it.

Resources