Loading...
 
Skip to main content

Features / Usability


Serious problem with the last files module in version 3.0!

I have a serious problem with the module last_files in version 3.0.

If you place this in the left or right modules, the TikiWiki hangs; it refuses to load anymore!

Now I have a problem with a working site, adding that damn module and now the site can't be accessed anymore. Worse, the server load goes up to the maximum because of that module!

I noticed that when you add the module last images, the performance goes down too.

The number of lines is standard (10).

Someone knows how to start the wiki in debug mode, so that I can get the module removed or must I recreate everything again!

It's even so bad, that the provider shut down the account, because it took all processor time. This is a real bad one.
I checked the bugbase and there was no bug reported about the modules.


I fixed it myself.

In case someone has the same problem, go to the database, choose table tiki_modules and remove the bad module.
Then go to the site and it runs again.

This is a serious bug, because it eats all resources of the server and when you have shared hosting, the system automatically suspense your account. When they try to switch it on again, the server will have the same problem.
The trick was I let them remove the tiki-index.php, de-suspend the acount, go to the database and delete the record in the tiki_modules.
Then I rename the tiki-index.php back and voila, the whole thing works again


I activated the last-files module in two Tiki 3.1 installations and don't see a problem with it (pages load normally, etc.). This is the first report of trouble I've seen with this module so I wonder if there's something unusual or incomplete about your Tiki installation.

-- Gary

1. Took it from the download location available here.
2. Unzip it on my drive and create a zip file (with all files in the zip-root)
3. FTP the zip file to the location on the remote server
4. With file manager, uncompress it
5. Delete the zip file
6. Run the install and follow instructions

In the root of the directory where wiki is installed, the following file:
php.ini and its content:
allow_url_fopen = off

That's it. The installation was fresh. Did the 'naughty' thing and things went from bad to worse until a nice support guy was so friendly to say "... I don't know ..." but he was able to un-suspended the account. I immediately renamed the tiki-index.php to tiki-index.shoot, went quickly to the database (dropped my cigarette in the process, which burned a hole in my new trousers, so my wife is pissed at me tonight), removed the offending record, and renamed the tiki-index.shoot back to tiki-index.php.

Then another smoke because of the nerves and tried it again with FireFox, which went fine. I was so relieved and suddenly I discovered that there was an upgrade (3.1). Downloaded it and installed it, but no money in the world I am going to try it again.

Oh, in the mean while I fixed that beautiful skin DarkRoom, so that you can see the content of the mail. If you guys want to have it, I can share it

The only thing left is explaining how there is a hole in my trousers to my wife and I'm afraid that I can't ask for support somewhere? Maybe also a version upgrade🙄


Wim


Apart from the php.ini file, that's pretty standard installation, for sure (just out of curiousity, why did you need to add that file?). About the details of the file gallery, I wonder what kinds of files the module was listing, what were some typical file names, etc. (Just wondering, again, why things didn't work in your installation but do in mine and, apparently, in most.)

Thanks for pointing out the problem with the message text/background contrast in the Darkroom theme (there were a lot of places where I had to override the assumed dark-on-light for Darkroom, one of the few light-on-dark Tiki themes, but I missed this one and it seems nobody else noticed the problem earlier). A fix has been committed and is in the pipeline for the next 3.x release.

-- Gary

Hi Gary,

In the wiki Security Admin, it says that the allow_url_fopen is ON and is not seen as safe. When you add that php.ini file, you switch it off.
I have a wiki (version 2 install), where people tried to hack the site. They managed to add script with their URL, which distorted the GUI. With this switch, they are not able to do that anymore.

The URL of the site I'm talking about is http://www.writingcenter4.infoQuestion
I have other installations who have the same problem (about 3 more), but all of them are on the same server.

There is another version of wiki running at http://wc4.fanficlinks.com/fanfictionQuestion
When I add that fatal module over there, the only effect is that the server gets overloaded slowly and the performance goes down when there are more then 30 concurrent users online. It runs the wiki version 2.3. That wiki has about 30 Gb of content and for what ever reason it is very slow. The server has 32Mb of memory. That version of wiki is alright, but extreme slow. When I don't have that module on, it runs on its maximum capacity when there are more then 100 concurrent users. The SQL web server are NOT running at the same machine.

I have also no idea why this happens.
The writingcenter4.info runs Apache 2.2.11 (Unix), PHP version 5.2.9, MySQL version 5.0.77-community, OS is Linux, kernel 2.6.18 and it runs 128Mb of memory.
The new version of wiki (3.0 and 3.1) runs easily with 250 concurrent users, as long as I don't use too many modules, especially not the module last_pages.
The SQL web server are running at the same machine here.
The content of the old fanficlinks.com/fanfiction will be moved to the new one.

There is also a major difference here in performance, I assume.
The fanficlinks.com/fanfiction stores all images and media in the database, while the writingcenter4.info places them on disk (in a directory).
I have noticed that when you have a gigabyte of contents, that the speed stays the same, while when you use a database as storage of media, the performance goes down dramatically.


-


I attached the CSS file here FYI.

Oops. I forgot.

To answer your question about the file names and so, here are some samples.

  • 10a35d4312ed0c407d86068512882203
  • a3e24d7afa819617f15d062d9541c579
  • Beatrix_Lestrange_by_ArcherV
  • Bellatrix, Narcissa and Andromeda
  • Bellatrix_Black_Lestrange_by_SeverusSnape94

etc.

Take alook for yourself:
http://www.writingcenter4.info/tiki-list_file_gallery.php?galleryId=37Question
or
http://www.writingcenter4.info/file37Question

Possible problems might be the file names, or maybe the number of files (there is about 210Mb of images (mainly jpg and some gif) and 1.5 Gb of html-, rtf-, and doc files in the galleries at the moment).
Also a difference with the other sites I use is that all files are stored not in the database, while the other sites I run with such capacity stored the files in a database. That site did not crash the server, but it slowed the server down dramatically.

I'm very happy with the changes in the file galleries. The browse function displays now very nice. Yes, I'm very pleased with the galleries, as are the users.

Wim