Announcement

  •  » Extensions
  •  » Plugin MyPiwShop incompatible with 2.7

#1 2015-01-10 11:23:57

Stephen Peacock
Member
United Kingdom
2015-01-04
17

Plugin MyPiwShop incompatible with 2.7

Hello Piwigo ,

The primary purpose of my Piwogo site is to sell prints and products using a PayPal shopping cart

I downloaded and installed the MyPiwShop plugin. When I activated the pulgin I recieved a warnng that the
plugin was incompatiable with Version 2.7.

I was getting a error/warning message on line 81 of functions_plugin.inc.php

So I comment it out

/**
   * @removed 2.7
   */
  function autoUpdate()
  {
    if (is_admin() && !defined('IN_WS'))
    {
    /* I am Charlie - comment out this warning */
      // trigger_error('Function PluginMaintain::autoUpdate deprecated', E_USER_WARNING);
    }
  }
}

What if any are the consquences of this action ???

Piwigo version: 2.7.2
PHP version: 5.4.35
MySQL version: 5.5.10-cll
Piwigo URL: http://localhost

Offline

 

#2 2015-01-10 14:46:56

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3271

Re: Plugin MyPiwShop incompatible with 2.7

you'd better edit MyPiwiShop to remove the reference to the function in main.inc.php rather then editing the core.... that's the best idea to totally break your gallery

Offline

 

#3 2018-09-21 11:11:47

ThomasK
Member
2018-09-21
1

Re: Plugin MyPiwShop incompatible with 2.7

I'm new to Piwigo, installed the gallery yesterday.

Activating MyPiwiShop there are two error messages:

Code:

Warning: Function PluginMaintain::autoUpdate deprecated in /kunden/115048_16125/thomaskrueger/clients/include/functions_plugins.inc.php on line 81

Warning: Cannot modify header information - headers already sent by (output started at /kunden/115048_16125/thomaskrueger/clients/include/functions_plugins.inc.php:81) in /kunden/115048_16125/thomaskrueger/clients/include/page_header.php on line 101

Is it possible - after modifications - to use MyPiwShop in  Piwigo 2.9.4 ?

Offline

 

#4 2018-09-21 18:37:30

flop25
Piwigo Team
2006-07-06
6918

Re: Plugin MyPiwShop incompatible with 2.7

yes you can Just search for hiding deprecated messages


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 
  •  » Extensions
  •  » Plugin MyPiwShop incompatible with 2.7

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact