1
nem2k2
Comments don't show for some users on mydownloads/myalbum/news modules
  • 2005/2/16 13:31

  • nem2k2

  • Just popping in

  • Posts: 14

  • Since: 2003/9/18


Hi,

A small number of users on my site have reported that when they view comments for a news article or submission for the mydownloads/myalbum modules, no comments are shown at all - it only shows the Quick Comment Box.

Any ideas what might be wrong?

I'm running XOOPS 2.0.9.2



2
nem2k2
Re: Apache processes running for long times?
  • 2005/2/1 10:36

  • nem2k2

  • Just popping in

  • Posts: 14

  • Since: 2003/9/18


Found the problem, I had some code that was opening a 2nd connection to the DB - this seemed to be killing the webserver.



3
nem2k2
Re: Smilies in links?
  • 2005/2/1 10:35

  • nem2k2

  • Just popping in

  • Posts: 14

  • Since: 2003/9/18


Hmm it works good, except when there are emoticon codes in a URL eg.

http://somesite.com/my_blank_page

The _b is still turned into the smilie :(



4
nem2k2
Re: Smilies in links?
  • 2005/1/28 4:42

  • nem2k2

  • Just popping in

  • Posts: 14

  • Since: 2003/9/18


n/m, I just hacked module.textsanitiser.php to process the smilies before the links

ie change this:
$text =& $this->makeClickable($text);
        if (
$smiley != 0) {
            
// process smiley
            
$text =& $this->smiley($text);
        }


to this:
if ($smiley != 0) {
            
// process smiley
            
$text =& $this->smiley($text);
        }
        
$text =& $this->makeClickable($text);



5
nem2k2
Smilies in links?
  • 2005/1/28 2:43

  • nem2k2

  • Just popping in

  • Posts: 14

  • Since: 2003/9/18


Hi,

I have a smilies on my site for '_b' and it breaks links in seactions such as the Sections module; it turns the "_b" in <a href=.... target="_blank"> into the smilie. Is there somewhere I can do a quick hack/fix to insert smilies before things that look like links are turned into links to prevent this from happening?

Cheers



6
nem2k2
Re: Upgrade test?
  • 2005/1/27 1:05

  • nem2k2

  • Just popping in

  • Posts: 14

  • Since: 2003/9/18


I would, but my old version of XOOPS is highly customized, so the updates may not work correctly. I intended to install fresh and then reapply the customizations.

Also I don't really want to install 20 patches to get from 2.0.5 to 2.0.9.2 :P



7
nem2k2
Upgrade test?
  • 2005/1/26 22:06

  • nem2k2

  • Just popping in

  • Posts: 14

  • Since: 2003/9/18


Hi,

I am running XOOPS 2.0.5.1 (very old, I know!) and I'm going to upgrade to the latest version. I've installed the newest version on my test box and it seems to be running fine, now I'd like to copy it to a subfolder of my existing XOOPS installation for testing purposes. I'd like the new installation to use the existing database, but I don't want it to try and erase them or anything. Is this safe? And when I eventually replace the old version with the new, which files do I have to be careful about? eg. mainfile.php?



8
nem2k2
Re: Apache processes running for long times?
  • 2005/1/12 22:17

  • nem2k2

  • Just popping in

  • Posts: 14

  • Since: 2003/9/18


Is there some way to see what pages are being served/still being served by an apache process so I can narrow down what page(s) are causing the problem?



9
nem2k2
Re: Apache processes running for long times?
  • 2005/1/10 20:51

  • nem2k2

  • Just popping in

  • Posts: 14

  • Since: 2003/9/18


it just says 'Apache' on the 'Server API' line.

Apache 1.3.26
PHP 4.1.2

MYSQL:
Active Persistent Links 0
Active Links 0
Client API version 3.23.49
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient -L/usr/lib -z

Directive Local Value Master Value
mysql.allow_persistent
On On
mysql.default_host
no value no value
mysql.default_password
no value no value
mysql.default_port
no value no value
mysql.default_socket
no value no value
mysql.default_user
no value no value
mysql.max_links
Unlimited Unlimited
mysql.max_persistent
Unlimited Unlimited



10
nem2k2
Re: Apache processes running for long times?
  • 2005/1/1 3:02

  • nem2k2

  • Just popping in

  • Posts: 14

  • Since: 2003/9/18


By "reboot the webserver" I meant shut down and restart apache, sorry. And it's a Linux server.

I keep meaning to update the XOOPs core but it's a pain when I've done modifications to get it looking & behaving exactly how I want it to :(

Under 'Loaded Modules' in the apache section of phpinfo it has mod_php4 so I assume PHP is running as a module?




TopTop
(1) 2 »



Login

Who's Online

138 user(s) are online (89 user(s) are browsing Support Forums)


Members: 0


Guests: 138


more...

Donat-O-Meter

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

Latest GitHub Commits