zhangtaoeasy / phppi

Automatically exported from code.google.com/p/phppi
Other
0 stars 0 forks source link

Missing argument 1 for PHPPI::setThumbSize() #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Log contains warnings
> PHP Warning:  Missing argument 1 for PHPPI::setThumbSize(), called in 
.../phppi/phppi/includes/classes/phppi.php on line 107 and defined in 
.../phppi/phppi/includes/classes/phppi.php on line 611

2.
3.

What is the expected output? What do you see instead?

What version of PHPPI are you using? On what operating system?

Please provide any additional information below.

Suggested patch attached

Original issue reported on code.google.com by eug...@hutorny.in.ua on 25 Oct 2012 at 5:07

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the report and the patch. I'll check that out later but i'm pretty 
sure I fixed that one in the version i'm working on.

Original comment by gorounreal on 25 Oct 2012 at 7:15

GoogleCodeExporter commented 9 years ago
Attached file is a suggested fix for linked files/folders on the 
phppi-1.1.1.zip base.
As a part of this fix checkExploit is reduced to detection of relative path 
traversal.
Original approach with comparing relative and absolute paths false detects 
exploits on linked folders/files

Original comment by eug...@hutorny.in.ua on 15 Nov 2012 at 2:21

Attachments:

GoogleCodeExporter commented 9 years ago
Shame on me.... I can't figure out how to apply this patch... :(

Original comment by luchogie...@gmail.com on 20 Nov 2012 at 9:59