1
SMEDrieben
Re: Help with extcal 2.40 beta 2
  • 2018/10/15 14:31

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


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



2
SMEDrieben
Re: Help with extcal 2.40 beta 2
  • 2018/9/26 20:23

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


Sorry, Github:

https://github.com/mambax7/extcal

SMEDrieben



3
SMEDrieben
Re: Publisher 1.06 FINAL Released (PHP 5.6 - 7.2.8): http 500 error
  • 2018/9/26 18:03

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


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



4
SMEDrieben
Re: Help with extcal 2.40 beta 2
  • 2018/9/26 17:56

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


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



5
SMEDrieben
Re: Publisher 1.06 FINAL Released (PHP 5.6 - 7.2.8): http 500 error
  • 2018/9/26 10:35

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


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



6
SMEDrieben
Re: Publisher 1.06 FINAL Released (PHP 5.6 - 7.2.8): http 500 error
  • 2018/9/25 19:57

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


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



7
SMEDrieben
Re: Help with extcal 2.40 beta 2
  • 2018/9/25 19:10

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


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



8
SMEDrieben
Re: Publisher 1.06 FINAL Released (PHP 5.6 - 7.2.8)
  • 2018/9/23 20:20

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


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



9
SMEDrieben
Re: Gallery Module working on version 2.5.9
  • 2018/9/23 19:37

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


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



10
SMEDrieben
Re: Publisher 1.06 FINAL Released (PHP 5.6 - 7.2.8)
  • 2018/9/22 10:40

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


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

SMEDrieben




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



Login

Username:
Password:

Lost Password? Register now!

Who's Online

73 user(s) are online (44 user(s) are browsing Support Forums)


Members: 0


Guests: 73


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits