claudehohl / Stikked

An advanced and beautiful pastebin written in PHP
991 stars 219 forks source link

Not being able to access index.php page. #501

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hello, i put all the stikked files in my pastebin folder. I have already changed the database part of the config file to the below. I have changed a bit in the configuration files, such as the author name and expired message. I am running PHP 5.6 with php_gd. Apache shared hosting. Default Perms 644 for all files. $config['db_hostname'] = '127.0.0.1;

$config['db_database'] = 'pxoss_pastebin';

$config['db_username'] = 'pxoss_stikked';

$config['db_password'] = 'NICE-TRY';

ghost commented 6 years ago

Forgot to mention, whenever i try to go to the file, it downloads a invalid file named download and its just the index.php file

The-Compiler commented 6 years ago

This sounds like your PHP installation is broken, you might try getting a phpinfo page to run first.

ghost commented 6 years ago

phpinfo page works, i also have a php upload script that 100% works on the same website

ghost commented 6 years ago

big facepalm, i think it was the php instalation and how i overwritten the .htaccess from the original one (had php info) to current one. i had a phpinfo test running on the main domain, not the sub domain. i tried to perform the test on the subdomain and had the same effect as the pastebin index.php page. anyways thanks

The-Compiler commented 6 years ago

Closing this then, as it's not a stikked issue.