1731
Mamba
Re: Urgent help!!! Creating new block leads to an error
  • 2019/12/9 0:05

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Just make sure that all the modules that you have are tested and working on PHP 7.x
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



1732
Mamba
Re: Xoops notification system
  • 2019/12/9 0:04

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Do you want to "upload" a video, or just add a link to the video that is already somewhere, e.g. on YouTube?

If you want to upload a video, then just use any FTP program to upload your video to a folder of your choice (e.g. to /uploads)

Then publish a link to the video. As an example, the link normally could look like this:

http://mysite.com/uploads/videos/video1.mp4
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



1733
Dhurgan
Upgrade problem going from 2.3.3 to 2.5.10
  • 2019/12/8 21:52

  • Dhurgan

  • Just popping in

  • Posts: 68

  • Since: 2004/2/11


Hi,
I have a really old xoops 2.3.3 install running under php 5.2.17, MySQL 5.1 on Apache 2.2 on Solaris 11 that I am now trying to move to Ubuntu 18-04 with php 7.2.24, MySQL 5.7.28
I dumped the db from the old and uploaded it into the newver mysql without problems, all data seems to be there, I also moved the old xoops install over and configured it under the local apache and php.
I then followed the upgrade instructions and used the XoopsCore25-2.5.10 package and prepared it in accordance with the instructions and started the upgrade by referencing the upgrade folder on my website. I got to log in as the admin of the site and the upgrade proceeded immediatly to the step 2.4.x to 2.5.0 and presented the message Applied patch upd-2.4.x-to-2.5.0 and a Continue button.

However, pressing that Continue button does nothing... just presents the saem page again.

if I clear the index.php from the path, it's presents the step before as the last done and wants to rerun the 2.4.x to 2.5.0 step, doing that sends us back to the state before...

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.

Are those changes possible to get as sql command files from here, all I find is php scripts that does some sql calls that might be doing this, but a simple modify table script would be cool if you have for the changes?

Or maybe this is a known bug, I see more people had trouble with that step before.

/Dhurgan, long time user of a very old xoops :)



1734
catra
Re: Urgent help!!! Creating new block leads to an error
  • 2019/12/8 5:42

  • catra

  • Just popping in

  • Posts: 3

  • Since: 2019/12/7


Thanks a lot Mamba for your quick reply, and also for your recommendation.
I have to discuss with my owner about updating to a newer version.



1735
princeemilec
Re: Xoops notification system

Please how do I upload a video



1736
Mamba
Re: oledrion: phpmailer postSend() not returning - stuck in try loop
  • 2019/12/8 4:21

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Bill,
for code, please use

[ code]
your code here
[/code]

instead of

```
your code here
```

There is a button for it: < />

If you do it manually, please remove the space after the [
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



1737
Mamba
Re: Urgent help!!! Creating new block leads to an error
  • 2019/12/8 4:06

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Thanks for letting us know about your solution.

Recommendation: please update to XOOPS 2.5.10, as it fixes bugs, and provides important compatibility updates with PHP 7.0- PHP 7.3

Our next version, XOOPS 2.5.11, will provide compatibility with PHP 7.4.

All PHP 7.x version provide increased speed over PHP 5.x, so it is worth to upgrade.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



1738
alain01
Re: Warning with xoInboxCount
  • 2019/12/8 0:51

  • alain01

  • Just can't stay away

  • Posts: 530

  • Since: 2003/6/20


Yesssssss, found !

Quote:
Math and embedding tags:

{$x+$y} // will output the sum of x and y.
{assign var=foo value=$x+$y} // in attributes
{$foo[$x+3]} // as array index
{$foo={counter}+3} // tags within tags
{$foo="this is message {counter}"} // tags within double quoted strings


so i can use : <{$inbox_total-$unread_count}>

Resized Image


Now code is :
<{xoInboxCount assign="unread_count" total='inbox_total'}>
        <
li class="nav-item">
            <
class="nav-link" href="<{$xoops_url}>/viewpmsg.php">
            <{if 
$unread_count}> 
                <
span style="font-size: 20px;" class="mx-auto xoopsinactive-color fas fa-envelope">span> <span class="badge badge-pill badge-danger align-text-top"><{$unread_count}>span>
            <{/if}>
                <
span style="font-size: 20px;" class="mx-auto xoopsinactive-color fas fa-envelope-open">span> <span class="badge badge-pill badge-secondary align-text-top"><{$inbox_total-$unread_count}>span>
            a>
        li>



1739
alain01
Re: Warning with xoInboxCount
  • 2019/12/8 0:32

  • alain01

  • Just can't stay away

  • Posts: 530

  • Since: 2003/6/20


Link to the file /class/smarty/xoops_plugins/function.xoInboxCount.php
https://github.com/XOOPS/XoopsCore25/blob/master/htdocs/class/smarty/xoops_plugins/function.xoInboxCount.php

With this subject, i discover the directory /class/smarty/xoops_plugins.
So cool !

Ok ok, i could discovered 10 years ago...



1740
alain01
Re: Warning with xoInboxCount
  • 2019/12/8 0:29

  • alain01

  • Just can't stay away

  • Posts: 530

  • Since: 2003/6/20


Yes, thanks,
but another question :

How can i subtract <{$inbox_total}>-<{$unread_count}>

It 's display : "4-3", not"1"


<li class="nav-item">
            <
class="nav-link" href="<{$xoops_url}>/viewpmsg.php">
            <{if 
$unread_count}> 
                <
span style="font-size: 20px;" class="mx-auto xoopsinactive-color fas fa-envelope">span> <span class="badge badge-pill badge-danger align-text-top"><{$unread_count}>span>
            <{/if}>
                <
span style="font-size: 20px;" class="mx-auto xoopsinactive-color fas fa-envelope-open">span> <span class="badge badge-pill badge-secondary"><{$inbox_total}>-<{$unread_count}>span>
            a>
        li>




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



Login

Who's Online

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


Members: 0


Guests: 529


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