xoops forums

Forum Index


Board index » All Posts (SMEDrieben)




SMEDrieben

Not too shy to talk
Posted on: 2018/10/15 14:31
SMEDrieben
SMEDrieben (Show more)
Not too shy to talk
Posts: 173
Since: 2009/6/17
#1

Re: Help with extcal 2.40 beta 2

Unfortunately, despite your help I could not solve the php 7 problems with extcal, extgallery and (php 7 associated or not) publisher. I finally decided to migrate my site to Wordpress. I think that the Xoops community has become too small for those who are not php-programmers and need frequently the help of others.

Thanks for all help of the last 13 years !

SMEDrieben


SMEDrieben

Not too shy to talk
Posted on: 2018/9/26 20:23
SMEDrieben
SMEDrieben (Show more)
Not too shy to talk
Posts: 173
Since: 2009/6/17
#2

Re: Help with extcal 2.40 beta 2

Sorry, Github:

https://github.com/mambax7/extcal

SMEDrieben


SMEDrieben

Not too shy to talk
Posted on: 2018/9/26 18:03
SMEDrieben
SMEDrieben (Show more)
Not too shy to talk
Posts: 173
Since: 2009/6/17
#3

Re: Publisher 1.06 FINAL Released (PHP 5.6 - 7.2.8): http 500 error

I looked into the php-log of WAMP-server. On this test system, 1.06 is working without errors. Nevertheless, there are errors (not shown otherwise):

[25-Sep-2018 19:30:44 UTC] PHP Fatal error: Class 'Constants' not found in C:\wamp64\www\httpdocs\modules\publisher\index.php on line 64

[25-Sep-2018 19:30:44 UTC] PHP Stack trace:

[25-Sep-2018 19:30:44 UTC] PHP 1. {main}() C:\wamp64\www\httpdocs\modules\publisher\index.php:0

Does it help ?

SMEDrieben


SMEDrieben

Not too shy to talk
Posted on: 2018/9/26 17:56
SMEDrieben
SMEDrieben (Show more)
Not too shy to talk
Posts: 173
Since: 2009/6/17
#4

Re: Help with extcal 2.40 beta 2

I just downloaded the latest Extcal version from Sourceforge, installed this version on my test system and tried to add a new event. It again failed. Both with php 5.6 and 7.0.

Using the admin, the "Couldn't create event" message appears; using the frontside of my site, there is a message that the event is added succesfully, but in fact it is not added to the database.

SMEDrieben


SMEDrieben

Not too shy to talk
Posted on: 2018/9/26 10:35
SMEDrieben
SMEDrieben (Show more)
Not too shy to talk
Posts: 173
Since: 2009/6/17
#5

Re: Publisher 1.06 FINAL Released (PHP 5.6 - 7.2.8): http 500 error

The problem is that this error is generated at my production site, not at the test site (WAMP server). If I do a fresh install (after removing the current Publisher module), and it works, can I import the 1.05 publisher tables using phpmyadmin in the database ? I know how it works technically, but will the freshly installed 1.06 version work with the 1.05 tables from my backup ? Otherwise, all my current publisher posts will be lost.

This question also applies to Extcal 2.40 beta (https://xoops.org/modules/newbb/viewto ... &order=ASC&status=&mode=0 ) and ExtGallery (https://xoops.org/modules/newbb/viewtopic.php?post_id=363805 ) .

SMEDrieben


SMEDrieben

Not too shy to talk
Posted on: 2018/9/25 19:57
SMEDrieben
SMEDrieben (Show more)
Not too shy to talk
Posts: 173
Since: 2009/6/17
#6

Re: Publisher 1.06 FINAL Released (PHP 5.6 - 7.2.8): http 500 error

My production Xoops is 2.5.9, php 5.6.38-0+deb8u1.

This http 500 error after upgrading to 1.06 is very reproducible. I tried to upgrade today once again and it fails immediately. I looked into the server logs and these all generate the http 500 errors:

GET /modules/system/admin.php?fct=modulesadmin HTTP/1.1
GET /modules/system/admin.php?fct=preferences&op=show&confcat_id=1 HTTP/1.1
GET /modules/system/admin.php?fct=maintenance HTTP/1.1
GET /modules/system/admin.php?fct=blocksadmin HTTP/1.1
GET /modules/publisher/admin/index.php HTTP/1.1
GET /modules/publisher/category.php?categoryid=18 HTTP/1.1
GET /admin.php HTTP/1.1

Does it provide any clue ?

SMEDrieben


SMEDrieben

Not too shy to talk
Posted on: 2018/9/25 19:10
SMEDrieben
SMEDrieben (Show more)
Not too shy to talk
Posts: 173
Since: 2009/6/17
#7

Re: Help with extcal 2.40 beta 2

Further testing: this version does not generate any error, but new events cannot be added to the database (Xoops 2.5.9)

In the admin, the "Couldn't create event" message appears; in the form at the site, there is a message that the event is added to the database, but actually nothing has happened.

Same problem with php 5.6.25 and 7.0.10

Is there a solution ?

SMEDrieben


SMEDrieben

Not too shy to talk
Posted on: 2018/9/23 20:20
SMEDrieben
SMEDrieben (Show more)
Not too shy to talk
Posts: 173
Since: 2009/6/17
#8

Re: Publisher 1.06 FINAL Released (PHP 5.6 - 7.2.8)

But the story continues...

I copied all Publisher 1.06 files to my production server (php 5.6.38-0+deb8u1). I clicked the "modules" tab in the admin. Immediately, a http 500 error occurred. So, I could'n't even update the publisher module in the module admin. Furthermore, I could not enter the admin at all after copying the 1.06 files !.

So, I copied the 1.05 files from my backup to my production server and everything worked again normally.

Can I upgrade to 1.06 on php 5.6.38 before my ISP will switch to php 7 ? Is it normal that the upgrade cannot be performed with php 5.6 ??

SMEDrieben


SMEDrieben

Not too shy to talk
Posted on: 2018/9/23 19:37
SMEDrieben
SMEDrieben (Show more)
Not too shy to talk
Posts: 173
Since: 2009/6/17
#9

Re: Gallery Module working on version 2.5.9

I try to prepare my site for php 7, because my ISP has announced to upgrade their servers within 2 weeks. . Extgallery 1.11 does not work with php 7.0.10 (fatal Xoops error after opening the index page) , so I tried 1.14 beta 1.

1. During upgrading the module, a fatal Xoops error occurs:
Next to the blue Xoops logo: Error : Error: Class 'Extgallery\Utility' not found

In the debug line:
Fout: Error: Class 'Extgallery/Utility' not found in bestand /modules/extgallery/include/onupdate.php regel 47

2. As soon as I open the index page of the module, a fatal error occurs:
Fatal error: Cannot use XoopsModules\Tag\Helper as Helper because the name is already in use in C:\wamp64\www\httpdocs\modules\extgallery\class\photoHandler.php on line 21

Is there a solution ? Actually, in my view, there is no Extgallery version that is working with php 7.

Thanks !

SMEDrieben


SMEDrieben

Not too shy to talk
Posted on: 2018/9/22 10:40
SMEDrieben
SMEDrieben (Show more)
Not too shy to talk
Posts: 173
Since: 2009/6/17
#10

Re: Publisher 1.06 FINAL Released (PHP 5.6 - 7.2.8)

It does work! dirname() was skipped. Thanks!

SMEDrieben



TopTop
(1) 2 3 4 ... 17 »