1721
moss
Re: A fixed nl2Br -- no more extra white space
  • 2019/12/10 14:02

  • moss

  • Just popping in

  • Posts: 38

  • Since: 2009/10/28


Hello,

I have Xoops 2.5.9 and I have this issue with table... I tried to play with module.textsanitizer.php and function nl2Br($text) but it doesn't work.

Can I have some help

Thanks



1722
geekwright
Re: Upgrade problem going from 2.3.3 to 2.5.10

Quote:

Dhurgan wrote:
...
Checking the error.log it shows the message...
Upgrade required on users table!, referer:
So apparently some step in the upgrade has required a db schema change.
...


The message you mention is not a fatal error, it is informational and occurs at signon when it attempts to update the hash of your password. The hash used to store passwords is much more advanced now, so the 'pass' column was expanded to 255 characters. The system will continue to function, but it will not be able to store the new stronger passwords using the new hash. A later upgrade step will fix that.

Sorry to hear of your troubles. Unfortunately, there are a lot of things that can go wrong. Some things to keep in mind:
- old protector hacks to mainfile.php need to be disabled
- disabling modules before starting the upgrade may help



1723
princeemilec
Re: Xoops notification system

Thanks



1724
Yurdal
Re: oledrion: phpmailer postSend() not returning - stuck in try loop
  • 2019/12/9 18:35

  • Yurdal

  • Friend of XOOPS

  • Posts: 386

  • Since: 2005/3/27


@rossb
Really good work, someone has to give this modules a new live, as now most of the modules are not godd or not functioning any more
I'm afraid I cant help with code but if there any need to test environment I can help



1725
rossb
Really stupid php / sql problem
  • 2019/12/9 14:14

  • rossb

  • Just popping in

  • Posts: 77

  • Since: 2006/8/28


Xoops 2.5.9

attempting to fix oledrions bug: "Oledrion\Utility::getEmailsFromGroup" is returning empty

The emails are for the vendor to be notified of sale.

// grp_sold is config var == 1 (Administrator group)
$db XoopsDatabaseFactory::getDatabaseConnection();
$grp_sold_user_ids = []; // Array of user ID's to send emails to
$sql 'SELECT uid FROM ' $db->prefix('groups_users_link') . ' WHERE groupid=' . (int)$grp_sold;
$result_sql $db->query($sql);
if (
$result_sql) {
    while (
$myrow $db->fetchArray($result_sql)) {
        
$grp_sold_user_ids[] = $myrow['uid'];
    }
}
file_put_contents(OLEDRION_GATEWAY_LOG_PATH"implode: " implode(','$grp_sold_user_ids) . "n"FILE_APPEND LOCK_EX);
$sql 'SELECT email FROM ' $db->prefix('users') . ' WHERE uid IN (' implode(','$grp_sold_user_ids) . ')';
$admin_emails = []; 
$result_sql $db->query($sql);
if (
$result_sql) {
    while (
$myrow $db->fetchArray($result_sql)) {
        
$admin_emails[] = $myrow['email'];
    }
}


What I am seeing:
$grp_sold_user_ids tests as array, print_r($grp_sold_user_ids); evaluates to 1
implode(',', $grp_sold_user_ids); // returns null should be 1
implode(',', array(1,2,3); //returns 1,2,3 - OK
implode(',', array(1); //returns 1 - OK

Anyone?
Thanks, Bill



1726
rossb
Re: oledrion: phpmailer postSend() not returning - stuck in try loop
  • 2019/12/9 13:32

  • rossb

  • Just popping in

  • Posts: 77

  • Since: 2006/8/28


figured out you're really busy - not rocket science.

when you do get around to oledrion, hopefully only tasks remaining:
- code review my RC2 changes - will send U patches
- theming needs serious work

...B



1727
Dhurgan
Re: Upgrade problem going from 2.3.3 to 2.5.10
  • 2019/12/9 6:50

  • Dhurgan

  • Just popping in

  • Posts: 68

  • Since: 2004/2/11


That was my plan if there wasn't any ready made difference scripts...
A fresh install it is then... it's always troublesome when there large jumps in versions, especially since everything jumped in the LAMP also :)



1728
Mamba
Re: oledrion: phpmailer postSend() not returning - stuck in try loop
  • 2019/12/9 0:20

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Please keep up posted on your progress.

I don't think, I'll have the time to dive into Oledrion before Christmas, but maybe somebody else could help....
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



1729
Mamba
Re: Warning with xoInboxCount
  • 2019/12/9 0:11

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Great! Thanks for sharing!!!!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



1730
Mamba
Re: Upgrade problem going from 2.3.3 to 2.5.10
  • 2019/12/9 0:09

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


HI Dhurgan,

it's always great to see loyal users of XOOPS!

I don't know what to tell you, without looking at the installation.

What you could do is to create a fresh installation of XOOPS, and then compare the structure of the user table on both installations, and check if there are any differences, and then eventually make these changes manually.

Let us know what you find out, so we can see if we need to make some changes to the Upgrade script.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs




TopTop
« 1 ... 170 171 172 (173) 174 175 176 ... 29425 »



Login

Who's Online

759 user(s) are online (529 user(s) are browsing Support Forums)


Members: 0


Guests: 759


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