I need a module to accept Stripe payment on the Joomla website I am working on, it also needs a membership subscription and to be able to be added as MailChimp subscriber. My option was to buy a module called Membership Pro by OsSolutions but I thought of giving a try.

What you need for this to work on your current Joomla are the following:

  • Stripe account (free subscription)
  • SSL certificate installed on your website as Stripe requires it (you can get for free depending on your hosting server if it supports it via Let's Encrypt)
  • MailChimp account (free subscription)
  • Zapier account (free subscription)
  • DirectPHP plugin for Joomla (free)



Stripe

  1. Sign-up for Stripe account.
  2. Add your bank account.
  3. Get your Test API key by logging into your dashboard. Toggle on View test data then click on API menu. Change your API key to the live one once you're ready to go live. Add a comment
Read more ...

On previous Stripe Dashboard, you can view the API, either the test and live publishable and secret key on one page.

On the current Dashboard, I got confused why I couldn't see the live API key.




The reason why was because I keep clicking the "View test data" toggle which shows the Test API key everytime I clicked the API menu. I need to click teh "View test data" as I was checking the Events and Logs on the website I was testing.

Add a comment
Read more ...

Basic principle in downgrading your Joomla from 3.3.3 to 3.2.4 can be found below.

Joomla 3.3.3 requires a minimum of PHP 5.3.10. While some of our Joomla websites are hosted on an SME Server Contribs v 8.0, the latest update of PHP is only version 5.3.3 and have no plans of updating it on version 8 I believe.

  • Backup your website folder because we will be needing the components folder later
  • Backup your database, then drop the table if you want to use the same database name
  • Download Joomla v3.2.4 then install it as normal using the existing database credentials
  • Copy all of your images to yourwebsite/images, same with the templates/templatename
  • Re-install all of your modules
  • If you will get ‘404 not found’ error when accessing a particular component from the control panel, then copy the content of the complaining component folder (eg. jshopping) from the backup to yourwebsite/administrator/components/jshopping/
Add a comment

  • Inside your default template (eg. templates/templatename/css/), create a file name called editor.css, and add an import lines importing your current template’s css files.
    @import url("main.css");
    @import url("template.css");

    You may need to modify your body background if it's not white.

    body {background:#fff;}
  • Go to Extensions -> Plugin Manager -> Editor – TinyMCE, make sure Template CSS classes is on, then type editor.css on Custom CSS classes
Add a comment

Magento version: 1.4.2
XAMPP version: 3.1.0
PHP version: 5.4.7

If you can still log into Magento’s backend, you can easily modify the base URLs of the site via:

System -> Configuration -> Web (Under the General section) -> Unsecure

There change the Field "Base URL" to the new domain.

System -> Configuration -> Web (Under the General section) -> Secure

The "Base URL" field should match the site’s domain.

But, if you cannot access the backend anymore, you need to modify the URL within the database thru phpMyAdmin if you have one configured.

Add a comment
Read more ...

After uploading all Wordpress files from Windows localhost to NetRegistry root folder, my template CSS file is unreadable. When I checked cPanel Error Log, this error appeared:

(13)Permission denied: /home/xxxx/public_html/wp-content/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://www.itropics.net/

Solution:

Make sure your wp-content folder permission is set to 755.

 

Add a comment

To Install phpMyAdmin

On your SME Server's (Contribs.org) console, issue the following commands:

yum --enablerepo=smecontribs install smeserver-phpmyadmin
signal-event post-upgrade
expand-template /usr/share/phpmyadmin/config.inc.php
expand-template /etc/httpd/conf/httpd.conf
svc –t /service/httpd-e-smith
svc –t /service/httpd-admin

OR if above gives you an error "No package smeserver-phpmyadmin available. Nothing to do" then do a yum localinstall:

cd /tmp
wget http://www.sme-server.de/download/sme7/contribs/smecontribs/smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch.rpm
yum localinstall smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch.rpm
signal-event post-upgrade
expand-template /usr/share/phpmyadmin/config.inc.php
expand-template /etc/httpd/conf/httpd.conf
svc –t /service/httpd-e-smith
svc –t /service/httpd-admin

OR update your repository to sme7contribs:

db yum_repositories set sme7contribs repository \
 GPGCheck yes \
 MirrorList http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smecontribs-7 \
 Name 'SME 7 - contribs' \
 Visible no \
 status disabled
signal-event yum-modify
yum clean all

Then repeat the installation procedure above where it says yum --enablerepo=smecontribs install smeserver-phpmyadmin.

 

To Uninstall phpMyAdmin

rpm -e smeserver-phpmyadmin

 

 To Limit Access of phpMyAdmin Web Interface to Certain IP

  1. Copy 86PhpmyadminAlias from /etc/e-smith/templates/etc/httpd/conf/httpd.conf/ to /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
  2. Change
    ...
    allow from all
    ...
    to
    ...
    allow from 127.0.0.1 192.168.1.0/255.255.255.0 123.456.789.012
    ...
    Of course, 123.456.789.012 will be your public IP address.
  3. Restart httpd service
    svc -t /service/httpd-e-smith

Troubleshooting

  • ERROR: “The configuration file now needs a secret passphrase (blowfish_secret)” Error when viewing the webconsole
    SOLUTION: Maybe you didn't issue this command as per above:
    expand-template /usr/share/phpmyadmin/config.inc.php
    svc –t /service/httpd-e-smith
Add a comment

  1. Joomla title and menu keeps changing & (ampersand) to &


    Open /modules/mod_menu/helper.php and

    replace this:
    $item->title = htmlspecialchars($item->title);

    with this:
    $item->title = $item->title;


  2. Joomla 2.5 article sorting is not working even though ordering had been set




    Go to your Article Manager -> Options -> Shared Options -> on Article Order drop-down menu ->  select Ordering
Add a comment

  1. Upload your Joomla folder (Windows PC) to SME Server /opt/joomla folder using WinSCP. This means overwriting files on /opt/joomla if there are. No need to include installation folder if it does exist.
  2. Putty to the server and issue these commands:
    chown -R www:www /opt/joomla/
    cd /opt/joomla
    find . –type f –exec chmod 644 {} \;
    find . –type d –exec chmod 755 {} \;
    Add a comment
Read more ...

When designing a webpage, my computer used to freeze. When I checked the Task Manager, the CPU Usage reached to 100% wherein 98% is used by iexplorer.exe. I have been testing one of the webpage in Internet Explorer 6, 7 & 8 and each one of them made the CPU Usage reached to 100%. Using Firefox alone had no effect - meaning, it had its normal CPU Usage while testing the webpage.

I checked my CSS and tried to delete some of the codes until I finally saw this code which uses all of my CPU resources:

#content { height: expression(document.getElementById("content").offsetHeight); }

That is the code for IE6 to compensate its inability to interpret top:0; and bottom:0;

Add a comment