1
Zap_English
Biblioteka problems

XOOPS Version XOOPS 2.5.7.2
PHP Version 5.6.23
mySQL Version 5.5.5-10.1.13-MariaDB
Server API apache2handler

Great module, exactly what I need but...

when I try to put a file in the list without attaching a file I get

Quote:
Protector detects attacking actions


on a white screen

When I try to attach a 25 mb rar the upload screen refreshes and on the top of the page I get

Quote:
Warning: POST Content-Length of 24956532 bytes exceeds the limit of 8388608 bytes in Unknown on line 0


there is no error at the bottom of the page (inline)

2
vamptrix
Re: Biblioteka problems
  • 2016/7/7 13:32

  • vamptrix

  • Theme Designer

  • Posts: 424

  • Since: 2008/5/3 1


Looks like your upload limit of your server isn't set correctly.

What's your PHP max post and max upload size?

3
Zap_English
Re: Biblioteka problems

in php.ini 8M

but that doesn't explain the Protector attacks

4
Zap_English
Re: Biblioteka problems

I changed them both to 90M

5
Zap_English
Re: Biblioteka problems

Is there any way to stop Biblioteca from changing the names of the files?

6
Mamba
Re: Biblioteka problems
  • 2016/7/10 22:13

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Quote:
Is there any way to stop Biblioteca from changing the names of the files?

Which files? The books that you upload?

For security reasons it's better to let the system rename it to something else, when you upload files.

But maybe in future releases, somebody can add an option to save a link to an existing file, so then you can upload the file yourself and save it under any name you want, and then just save the link to it in the Biblioteca.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

7
Zap_English
Re: Biblioteka problems

Biblioteca is nothing but a renamed and reworked copy of TDMDownloads and it is entirely unnecessary to rename files. It's also a pain in the ass for end users downloading books with scrambled names.

Furthermore, it already has a way to use existing links, which increases the steps and time necessary to upload files.

8
Mamba
Re: Biblioteka problems
  • 2016/7/11 19:54

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


You might try then:

a) wfDownloads module, and fork it to a new name like "biblioteka". When you download files, they are downloaded under the original names

b) the Bookshop module, but I didn't really use it, so I have no idea if this would be something for you
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

9
Zap_English
Re: Biblioteka problems

bookshop module

Quote:

Parse error: syntax error, unexpected end of file in D:\xampp\htdocs\zec\modules\bookshop\class\bookshop_discounts.php on line 622
None All Errors (0) Deprecated (0) Queries (11) Blocks (0) Extra (2) Timers(3)

10
zyspec
Re: Biblioteka problems
  • 2016/7/12 2:34

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


@Zap_English,

For Bookshop module, delete line 27 in ./class/bookshop_discounts.php
if (!defined('XOOPS_ROOT_PATH')) {

Login

Who's Online

244 user(s) are online (190 user(s) are browsing Support Forums)


Members: 0


Guests: 244


more...

Donat-O-Meter

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

Latest GitHub Commits