Login
Register

VirtueMart

WooCommerce

Others

Docs

Support

Blog

About

Shipping by Rules for VirtueMart

IMPORTANT ANNOUNCEMENT: Plugin development ceased, all plugins made available freely (GPL)

With great sadness we have to announce that we are ceasing development of all our VirtueMart, WooCommerce and Joomla plugins. Effective immediately, all our plugins -- even those that were paid downloads -- are made available for free from our homepage (GPL license still applies), but we cannot and will not provide any support anymore.

It has been a great pleasure to be part of the thriving development communities of VirtueMart as well as WooCommerce. However, during the last year it became painstakingly clear that in addition to a full-time job, a young family and several other time-consuming hobbies at professional level (like being a professional singer) the plugin development and the support that it requires is not sustainable and is taking its toll. It has been an honor, but it is now time to say good bye!

×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

server error? 22 Jun 2013 22:48 #1

  • homeovitality
  • homeovitality's Avatar Topic Author
hi, i've installed the plugin, but when i go to enable it in virtuemart shipping or options or even go to a frontend product page, it displays a server error. what is wrong?

server error? 23 Jun 2013 01:12 #2

This sounds like either a problem with an older PHP version or some server misconfiguration.

Which PHP version do you you have installed? PHP 5.4, 5.3 or 5.2?

What is the error message in your webserver's log (e.g. /var/log/apache/error.log or wherever your webserver stores the error log).

server error? 23 Jun 2013 05:29 #3

  • tobiasknabe
  • tobiasknabe's Avatar
Same here - PHP 5.3.8

server error? 23 Jun 2013 06:37 #4

  • tobiasknabe
  • tobiasknabe's Avatar
Same here - PHP 5.3.8 and no way to change this... any idea?

Got it 23 Jun 2013 07:02 #5

  • tobiasknabe
  • tobiasknabe's Avatar
Hi, I got a solution for PHP 5.3.8

find joomla/plugins/vmshipment/rules_shipping_advanced/rules_shipping_base.php

Go to line 713 (just below
switch ($func) {
) and comment out lines 713 to 720. That's it.

server error? 23 Jun 2013 11:28 #6

  • homeovitality
  • homeovitality's Avatar Topic Author
Yes i am using joomla 2.5, virtuemart 2, PHP 5.

It seems that the extension isn't installing properly since the name comes up as "VIRT_ADV_SHIPPING" or something like that.

The error log is bringing up no such error to do with the extension.

I have tried installing from the zip upload and upload from directory, both produce the same negative result.

server error? 23 Jun 2013 12:34 #7

  • homeovitality
  • homeovitality's Avatar Topic Author
it seems like there is something wrong with the extension file, because i have tried on a new joomla 2.5 installation vm2 but still the same server error.

[SOLVED] server error? 23 Jun 2013 15:23 #8

  • homeovitality
  • homeovitality's Avatar Topic Author
Problem solved. Thanks.

Got it 23 Jun 2013 15:23 #9

  • homeovitality
  • homeovitality's Avatar Topic Author
Thank you so much man. It works beautifully. Thanks again.

Got it 23 Jun 2013 16:01 #10

  • tobiasknabe
  • tobiasknabe's Avatar
Pretty happy that it works for you too - I first thought thatit is an installation error as well until I checked the Apache log files.

Got it 23 Jun 2013 17:44 #11

I have tested the plugin with PHP 5.4, and those lines of code work just fine in PHP 5.4, but I didn't have a PHP 5.3 test system available.

It appears that PHP 5.3 does not like calls like getdate(), but rather requires the getdate() return value to be stored in a local variable first. I have updated the plugin to version 3.0.1, which should fix this problem.

Got it 23 Jun 2013 18:31 #12

  • tobiasknabe
  • tobiasknabe's Avatar
Is there something I can do? I could offer you access to my PHP 5.3.8 productive system - if required I am able to set up a Joomla 2.5/3.0 installation for testing purposes with full access for you.

Got it 23 Jun 2013 18:52 #13

I have meanwhile set up a test sytem with PHP 5.3 in VirtualBox.

The latest version 3.0.1 of the plugin already contains the bugfix for PHP 5.3
  • Page:
  • 1