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
30
results
Andrew Fletcher
•
The error message "Attempting to re-run cron while it is already running" in Drupal typically indicates that another instance of the cron job is still running when the system tries to start a new one. Cron is a process that performs various tasks for Drupal, such as indexing content, checking for updates, and performing other scheduled tasks.
Some potential causes and solutions for this issue
Long-Running Cron Jobs
If a cron job takes longer to complete than the interval between cron runs, it...
Andrew Fletcher
•
An approach to generating a backup server is using a shell script. A...
Andrew Fletcher
•
Wanting to create a new repository on GitHub, add in a few of the available...
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
•
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
•
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...
Andrew Fletcher
•
The purple warning notification of annoyance recently came my way! I received the following warning:
Publishing changes from background threads is not allowed; make sure to publish values from the main thread (via operators like receive(on:)) on model updates.
What was happening?
The functionality of the code uses URLSession to get a user's name via API and the display is simple piece that initially message of Hello {user}.
The view code consists of:
MainView : View
Main...
Andrew Fletcher
•
I'm currently working on a project that requires login, register, forget...
Andrew Fletcher
•
iOS localization on the fly
If you have added languages to your app......
Andrew Fletcher
•
The magically descriptive error 401 Forbidden "message": "Access...
Andrew Fletcher
•
If you are like me you probably have searched for clues to and found little......