developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
31
results
Andrew Fletcher
•
While loading an ionic project, in Xcode when performing a run routine I had the following response
⚡️ Loading app at capacitor://localhost...
2022-04-17 15:54:01.318573+1000 App[74515:7355495] [Process] 0x7f8758828820 - [pageProxyID=5, webPageID=6, PID=74520] WebPageProxy::didFailProvisionalLoadForFrame: frameID=3, domain=NSCocoaErrorDomain, code=260
⚡️ WebView failed provisional navigation
⚡️ Error: The file “index.html” couldn’t be opened because there is no such file.The Xcode build...
Andrew Fletcher
•
Need to know how run updates for Capacitor?
Updating Capacitor
Update Capacitor...
Andrew Fletcher
•
A recent attempt to run an update composer (regular activity for many of...
Andrew Fletcher
•
I'm writing these steps primarily for myself as a reference. However, if...
Andrew Fletcher
•
Working in Laravel, I needed to loop through an array and know whether the...
Andrew Fletcher
•
I need to set the default php-version of a subscription to php7.3. The current server php version is PHP 7.1.33 (cli) (built: Oct 25 2019 11:33:58) ( NTS ).
Using a shell program (I used Terminal) from the home directory I ran:
export PATH=/opt/plesk/php/7.3/bin:$PATH;
centos 6 use
service httpd restartcentos 7 use
sudo systemctl restart httpd.serviceHowever, through shell when I ran php -v the version remained at 7.1.33.
Incase the restart wasn't enough I rebooted the server...
Andrew Fletcher
•
Setting up the mail configuration in October CMS is a quick progress....
Andrew Fletcher
•
Attempting to load changes in a staging site and the bountiful error page...
Andrew Fletcher
•
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI...
Andrew Fletcher
•
This page shows a growing list of common commands for viewing and managing your...
Andrew Fletcher
•
Whilst updating nodejs and npm on a Centos 6 or 7 server running Apache, I hit a few walls and as a matter of process found some commands that are handy to run before doing a deep dive in Google.
Cleaning the cache
sudo yum clean all
rm -rf /var/cache/yum/*
To make the cache
sudo yum clean all; sudo yum makecacheIf you want to run several commands use semi-colon as noted above.
Updating
When running an update command run
sudo yum -y...
Andrew Fletcher
•
Common commands
Themes and plugins have similar command lines. So rather...
Andrew Fletcher
•
At times while developing in October CMS, you will perform a step that kills the...
Andrew Fletcher
•
Using October CMS to migrate your site and update the tables with the plugins...
Andrew Fletcher
•
Installing Laravel on an Apache server was going to be a no fuss process said no...