ctrlcctrlv / infinity

A vichan fork permitting users to create their own boards
Other
318 stars 149 forks source link

Why does this error keep appearing? #383

Open Yushe opened 9 years ago

Yushe commented 9 years ago

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).
bui commented 9 years ago

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

Yushe commented 9 years ago

Now it is saying this "Undefined index: mask_db_error"

bui commented 9 years ago

...that's the same error?

Yushe commented 9 years ago

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

ctrlcctrlv commented 9 years ago

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

Do git checkout inc/instance-config.php

Yushe commented 9 years ago

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.

ghost commented 9 years ago

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

That's what you are looking for. On Feb 2, 2015 3:33 AM, "Yushe" notifications@github.com 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.

Yushe commented 9 years ago

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

bui commented 9 years ago

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

ghost commented 9 years ago

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" notifications@github.com 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.

Yushe commented 9 years ago

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 commented 9 years ago

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

bui commented 9 years ago

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

Yushe commented 9 years ago

ignore this!

Yushe commented 9 years ago

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?

ctrlcctrlv commented 9 years ago

you need imagemagick

Yushe commented 9 years ago

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.