Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use!!! #2

Closed
adan89lion opened this issue Jul 7, 2014 · 6 comments
Closed

Cannot use!!! #2

adan89lion opened this issue Jul 7, 2014 · 6 comments

Comments

@adan89lion
Copy link

When I open kodexplorer/index.php , it says:

Warning: Unexpected character in input: ' in /Applications/AMPPS/www/kodexplorer/index.php on line 1

Parse error: syntax error, unexpected T_INCLUDE in /Applications/AMPPS/www/kodexplorer/index.php on line 2

I didn't change my index.php and even config/config.php!

question

@kalcaddle
Copy link
Owner

first,Check whether the code is damaged, try to download cover.

I have never met this problem,maybe because of your php version.
can you provide your Server environment:system、http server(version)、php version

will ,it's all will be ok in php 5.1_~5.3_

@adan89lion
Copy link
Author

Yeah, I tried to re-download the code but still the same error message.
My server environment: System: Mac OS X Mavericks, Http Server: Apache 2.4.9 Unix, Php Version: 5.3.28

@kalcaddle
Copy link
Owner

I have try in same environment but can't meet this error.

@adan89lion
Copy link
Author

So... Humm, is this a unfixable problem. Maybe I'll waiting for the next release and hope the problem fix.
btw, I'm using AMPPS PHP Server
2014-07-21 7 17 34
2014-07-21 7 17 48

@kalcaddle
Copy link
Owner

I'm try the same ampps,but has't error.everything is ok.

System: Mac OS X Mavericks,
Http Server: Apache 2.4.9 Unix,
Php Version: 5.3.28

kod need use iconv .so you must open the php extension iconv.so
snip20140724_6

snip20140724_2
snip20140724_3
snip20140724_4

snip20140724_5

@adan89lion
Copy link
Author

Thanks! I tried to re-open the iconv.so and it works!
2014-07-26 10 44 59
2014-07-26 10 45 12
2014-07-26 10 47 45

@kalcaddle kalcaddle reopened this Apr 11, 2015
bbbboom added a commit to bbbboom/KodExplorer that referenced this issue Apr 7, 2023
Fix Fatal error:  Uncaught ValueError: fread(): Argument kalcaddle#2 ($length) must be greater than 0 in /app/kod/archiveLib/pclzip.class.php:2704
@bbbboom bbbboom mentioned this issue Apr 7, 2023
bbbboom added a commit to bbbboom/KodExplorer that referenced this issue Apr 23, 2023
Some svg images can cause this problem.

PHP Fatal error:  Uncaught TypeError: Unsupported operand types: string / string in /kod/app/kod/ImageThumb.class.php:94
Stack trace:
#0 /kod/app/controller/explorer.class.php(1100): ImageThumb->prorate('/kod/data...', 250, 250)
kalcaddle#1 /kod/app/core/Application.class.php(64): explorer->image()
kalcaddle#2 /kod/app/core/Application.class.php(104): Application->appRun('explorer', 'image')
kalcaddle#3 /kod/index.php(114): Application->run()
kalcaddle#4 {main}
  thrown in /kod/app/kod/ImageThumb.class.php on line 94
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants