Upgrade PHP 5.5 To 7 In WAMP

I installed Chronoforms 6 for WordPress and it requires PHP 5.6 or higher. I am running PHP 5.5 and 7.3 is available.

This video got me started:

 

I downloaded PHP here: https://windows.php.net/download/

I moved the PHP.ini, wampserver.conf, and phpForApache.ini files from my PHP 5.5 folder to my new PHP 7 folder.

I made a few changes to the PHP.ini and phpForApache.ini from John Dugan’s instructions.

In my PHP.ini the only line I changed was line 1943.

zend_extension = “c:/wamp/bin/php/php5.5.12/zend_ext/php_xdebug-2.2.5-5.5-vc11-x86_64.dll”
In my phpForApache.ini the only line I changed was line 718.
extension_dir = “c:/wamp/bin/php/php7.0.30/ext/”

WAMP wouldn’t start after I changed the version to PHP 7.

In the wampserver.conf file I needed to change the following two lines:

$phpConf[‘apache’][‘2.4’][‘LoadModuleName’] = ‘php7_module’;
$phpConf[‘apache’][‘2.4’][‘LoadModuleFile’] = ‘php7apache2_4.dll’;

I restarted WAMP and it was up and running.

The first issue I ran into was CURL needed to be enabled, but the fonts on the site I was working on switched from a Sanserif font to a serif font. Not sure why.

I hope this helps someone else out there…

 

DIVI Customize Tag Landing Page

Divi’s portfolio modules and projects component make adding the project / portfolio a breeze. I found a short code from Surbma that allowed me to quickly add the project tags to the page. The issue I had is when the user clicked on the tag the projects were displaying as single-column blog style and I wanted the columned style the module displayed.

The page got me in the right direction.

How to Give Your Divi Archive Pages a Masonry Layout

This was so close to what I wanted.

The boxes were not totally lined up so I ended up implementing “Flex” in the CSS to make the boxes fit a little better. I used the following article to guide me.

Don’t Overthink It (Flexbox) Grids

The next issue was being able to build this page like the other pages I had built in the Divi builder. I needed to add back the Yoast Breadcrumbs and this article helped.

How To Add Breadcrumbs To Your WordPress Website

I was hoping to build “child-theme” sub-page and I had trouble coming up with the right Taxonomy.  What I needed was “taxonomy-project-tag.php” or  “taxonomy-project-tag-tag label.php”

” .The following page helped me determine the right taxonomy for page of linked projects by tags.

Taxonomy Templates

 

I hope this helps someone else out there…

 

 

 

Joomla Turn Off PHP Version Warning In The Administrative Area

After upgrading my Joomla sites to 3.7 whenever I log into the back-end I get a warning that my PHP will not be supported in another year.

My friend at BMoreCreative showed me to turn this off.

  • Once logged into the administrative area go to Extensions >> Plug-ins.
  • Do a search for “quick”.
  • Uncheck “Quick Icon – PHP Version Check”

I hope this helps someone else out there…

 

Godaddy CPanel PHP 2m upload_max_filesize – How To Change.

My Joomla install told me the upload_max_filesize is 2M. I changed this in my PHP5.ini file on the server, but this had no effect. I learned later that this takes time to become in effect.

A faster way is to “PHP Selector”. You will see “Switch to PHP Options” in the upper-right. Click on this.  Click on the number next to “upload_max_filesize” and change it to what you want. Godaddy said to keep it under a Gig or you will have issues.

I hope this helps someone else out there…

 

Solved – Joomla 3 Localhost – Could not instantiate mail function.

While working on a Joomla site in WAMP I went to test the email and got the following error.

Notice
Could not instantiate mail function.

Here is how I fixed this. This could be the long way, but it worked for me.

  1. I had to set up sendmail. I wrote about my best solution for localhost in this post.
    http://blog.grimeymedia.com/setting-up-mail-service-in-wamp/
  2. Then in Joomla I went to Global Configuration  >> Server tab. At the bottom is “Mail Settings”.
  3. I changed “Mailer” to “Sendmail”, and set the path to  “C:\wamp\sendmail\sendmail.exe”
    sendmail_path_joomla

I hope this helps someone else out there…

 

Link Joomla Read More To Another Article – [Solved]

I had section on the home page of a site that displayed the intro text to four services the customer provided; however, we only had one page of services.

I wanted to use the read more feature built into Joomla to make this happen. Here is what I did.

  1. Install Sourcerer plug-in
  2. Created the 4 pages with intro text and image.
  3. On the the pages I wanted to go to another page I added the following code.

{source}

<?php  header (“Location: link to the other page”);   ?>

{/source}

I hope this helps someone else out there….

 

Chronoconnectivity V 5 for Joomla Tutorial

I love chronoforms and wondered about reading and displaying the data in such a powerful way. I looked at chronoconnectivity many times but quickly got discouraged.

I found simply going through their FAQ was a great start.

https://www.chronoengine.com/faqs/72-ccv5.html

Next I found the following walk through which were the next steps I was looking for and beyond.

http://www.icagenda.it/chronoforms-and-chronoconnectivity-tutorials-and-guides.html

I hope this helps someone else out there….

 

Solved – Chronoforms V5 won’t add database entry because of duplicate id – 1062 – Duplicate entry ’28’ for key ‘PRIMARY’

I had to hard code a URL and pass some parameters to a Chronoform in an article. The form submitted to a database. The form submission was taking the article ID as the form’s unique ID, so I could only submit once.

Bob Janes with Chronoforms totally fixed my issue with unsetting the varible with custom PHP.

https://www.chronoengine.com/faqs/70-cfv5/5234-my-form-data-isnt-saving-to-the-database-correctly-2.html

I hope this helps someone else out there…