1461
heh26
myalbum
  • 2020/3/22 18:10

  • heh26

  • Just popping in

  • Posts: 15

  • Since: 2020/3/2 1


Hi. I am trying to add myalbum or webphoto to the weblink. so that I can display photos at the links. I installed myalbum 2.88 but an error occurred. With version myalbum 3.07, I couldn't add a folder with photos. So I want to try with module 2.88 - myalbum.

Fatal error: Call to undefined method MyTextSanitizer::MyTextSanitizer()

html/modules/myalbum/class/myalbum.textsanitizer.php on line 24

function MyAlbumTextSanitizer()
{
parent::MyTextSanitizer() ;
}



XOOPS Version XOOPS 2.5.9
PHP Version 5.6.40
mySQL Version 10.0.38-MariaDB
Server API litespeed
OS Linux



1462
Mamba
Re: reservation - xoops-martin
  • 2020/3/22 15:27

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


This module never really worked, so I wouldn't use it, unless you're a developer and want to fix it.

However, I did upload some updates I had on my local PC, so maybe it will help a little, if you want to dive in into development:

https://github.com/mambax7/xmartin

But the module would require a lot of work, so be aware of it....
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



1463
heh26
reservation - xoops-martin
  • 2020/3/22 12:06

  • heh26

  • Just popping in

  • Posts: 15

  • Since: 2020/3/2 1


XOOPS Version XOOPS 2.5.9
PHP Version 5.6.40
mySQL Version 10.0.38-MariaDB
Server API litespeed
OS Linux

https://github.com/mambax7/xoops-martin

Fatal error: Call to undefined function GetRanks()
modules/xoops-martin/admin/martin.hotel.php on line 31

//模块配置
$Ranks = GetRanks($xoopsModuleConfig);

I installed the module. I go to bookmarks, but nothing works. There was also no database, I installed it manually, but it did not help.
Can anyone help me solve the problem?

Warning: include(): Failed opening '/modules/martin/include/common.php' for inclusion (include_path='.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in file /modules/xoops-martin/admin/admin_header.php line 39



1464
tzvook
Re: Time for an upgrade/update host no longer supporting older php
  • 2020/3/21 21:00

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


There's also something wrong with the link-ratings ... it always show "1" regardless of the real rate ..
couldn't find what causing it ..



1465
heh26
Re: Time for an upgrade/update host no longer supporting older php
  • 2020/3/21 20:50

  • heh26

  • Just popping in

  • Posts: 15

  • Since: 2020/3/2 1


I changed to PHP 7.4 and for now everything works fine. Thank you once again.



1466
heh26
Re: Time for an upgrade/update host no longer supporting older php
  • 2020/3/21 20:35

  • heh26

  • Just popping in

  • Posts: 15

  • Since: 2020/3/2 1


Parse error: syntax error, unexpected '='
public_html/modules/weblinks/admin/category_manage.php on line 267

if ($imgurl) {
[
$orig_width, $orig_height, $show_width, $show_height
267--> ] = $this->_get_image_size($imgurl);


An error has already appeared ...
Can anyone help?
I can't add a new category in the module.



1467
heh26
Re: Time for an upgrade/update host no longer supporting older php
  • 2020/3/21 20:28

  • heh26

  • Just popping in

  • Posts: 15

  • Since: 2020/3/2 1


I changed the way you showed in many lines by adding: letter and changing the parenthesis. And succeeded, the module works. Thank you very much. Unless there are any problems ...



1468
heh26
Re: Time for an upgrade/update host no longer supporting older php
  • 2020/3/21 20:22

  • heh26

  • Just popping in

  • Posts: 15

  • Since: 2020/3/2 1


// create a token
[$usec, $sec] = explode(' ', microtime());
$appendix_salt = empty($_SERVER['PATH']) ? XOOPS_DB_NAME : $_SERVER['PATH'];
$token = crypt($salt . $usec . $appendix_salt . $sec, XOOPS_DB_PREFIX);
$this->_latest_token = $token;


modules/happy_linux/include/gtickets.php w linii 132


Parse error: syntax error, unexpected '=' in


How do I change to : list($usec, $sec) = explode(' ', microtime());
The error continues on line 287 ...

[$tmp_table, $tmp_form] = $this->extract_post_recursive(htmlspecialchars($key, ENT_QUOTES), $val);
$table .= $tmp_table;
$form .= $tmp_form;

Parse error: syntax error, unexpected '='

modules/happy_linux/include/gtickets.php on line 287

Thank you for the quick reply.



1469
zyspec
Re: Time for an upgrade/update host no longer supporting older php
  • 2020/3/21 20:07

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


I see... the same problem exists on line 127...

change:


Quote:

heh26 wrote:
Parse error: syntax error, unexpected '='

modules/happy_linux/class/time.php on line 127
[$usec$sec] = explode(' 'microtime());

to:
list($usec$sec) = explode(' 'microtime());


public function get_microtime()
{
[$usec, $sec] = explode(' ', microtime());
$time = (float)$sec + (float)$usec;

return $time;

Thank you for the reaction, of course, I can change, but it did nothing. I still can't use the module. Regards, Rafał.



1470
heh26
Re: Time for an upgrade/update host no longer supporting older php
  • 2020/3/21 19:57

  • heh26

  • Just popping in

  • Posts: 15

  • Since: 2020/3/2 1


Parse error: syntax error, unexpected '='

modules/happy_linux/class/time.php on line 127


public function get_microtime()
{
[$usec, $sec] = explode(' ', microtime());
$time = (float)$sec + (float)$usec;

return $time;

Thank you for the reaction, of course, I can change, but it did nothing. I still can't use the module. Regards, Rafał.




TopTop
« 1 ... 144 145 146 (147) 148 149 150 ... 29425 »



Login

Who's Online

620 user(s) are online (321 user(s) are browsing Support Forums)


Members: 0


Guests: 620


more...

Donat-O-Meter

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

Latest GitHub Commits