infinity icon indicating copy to clipboard operation
infinity copied to clipboard

Why does this error keep appearing?

Open Yushe opened this issue 10 years ago • 17 comments

I have installed the infinity script on my site but for some reason this error "Undefined index: mask_db_error" keeps appearing when I try to do anything on the site.

Please help!

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/8204781-why-does-this-error-keep-appearing?utm_campaign=plugin&utm_content=tracker%2F6417251&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F6417251&utm_medium=issues&utm_source=github).

Yushe avatar Feb 01 '15 21:02 Yushe

add $config['mask_db_error'] = true; to your instance-config.php

bui avatar Feb 01 '15 21:02 bui

Now it is saying this "Undefined index: mask_db_error"

Yushe avatar Feb 01 '15 21:02 Yushe

...that's the same error?

bui avatar Feb 01 '15 21:02 bui

I fixed that now this is coming up "Use of undefined constant BOARDVOLUNTEER - assumed 'BOARDVOLUNTEER'"

Yushe avatar Feb 01 '15 22:02 Yushe

Seems to me like you didn't follow the instructions and you used install.php

Do git checkout inc/instance-config.php

ctrlcctrlv avatar Feb 02 '15 01:02 ctrlcctrlv

But I don't know how to do a "git checkout" because I'm kinda new to github and the commands of it in general.

Yushe avatar Feb 02 '15 09:02 Yushe

git clone https://github.com/ctrlcctrlv/infinity.git

That's what you are looking for. On Feb 2, 2015 3:33 AM, "Yushe" [email protected] wrote:

But I don't know how to do a "git checkout" because I'm kinda new to github and the commands of it in general.

— Reply to this email directly or view it on GitHub https://github.com/ctrlcctrlv/infinity/issues/383#issuecomment-72427817.

ghost avatar Feb 02 '15 09:02 ghost

Ok I got the updated version working but this message pops up when I try to create a thread: shell_exec() has been disabled for security reasons

Yushe avatar Feb 04 '15 15:02 Yushe

are you using shared hosting? your provider has probably disabled it

bui avatar Feb 04 '15 16:02 bui

Check your php.ini for the disabled functions. If you don't have access to it, you can be very dangerous and remove it (for educational purposes only). On Feb 4, 2015 10:02 AM, "Bui" [email protected] wrote:

are you using shared hosting? your provider has probably disabled it

— Reply to this email directly or view it on GitHub https://github.com/ctrlcctrlv/infinity/issues/383#issuecomment-72881240.

ghost avatar Feb 04 '15 16:02 ghost

I'm currently hosting with hostinger and I checked they don't let you edit php.ini but I'm thinking of upgrading to digitalocean.

Yushe avatar Feb 04 '15 17:02 Yushe

Ok I'm using digitalocean now and I installed it correctly but when I log in to mod.php this error appears

Fatal error: Call to undefined function apc_fetch() in /var/www/html/inc/cache.php on line 45

Yushe avatar Feb 18 '15 11:02 Yushe

apt-get install php5-apc if that fails, apt-get install php-apc

bui avatar Feb 18 '15 13:02 bui

ignore this!

Yushe avatar Feb 18 '15 15:02 Yushe

Ignore the above post I fixed it! Everything is working perfectly apart from images don't appear unless I click on them, I went to the directory where the small images are kept and it says that the small ones are corrupted but the big ones are not. Why is this happening?

Yushe avatar Feb 18 '15 19:02 Yushe

you need imagemagick

ctrlcctrlv avatar Feb 20 '15 12:02 ctrlcctrlv

When I change the settings of a board it says this: fopen(stylesheets/board/news.css): failed to open stream: Permission denied But the settings do apply.

Yushe avatar Mar 21 '15 19:03 Yushe