kleeja-official / kleeja

⬇️ File Upload/sharing application, used by thousands of webmasters since 2007.
https://kleeja.net
MIT License
178 stars 45 forks source link

Error 404 after deleting Install Folder #112

Closed s1ntaxerror closed 5 years ago

s1ntaxerror commented 5 years ago

Hello. I installed Kleeja, everything worked fine. Then I deleted the install directory. But if I go on the website, kleeja everytime wants to go to /install/index.php and because I deleted that folder, I am getting a Error 404 message. Any ideas?

Thanks

MitanOmar commented 5 years ago

could u check config.php file ?

s1ntaxerror commented 5 years ago

could u check config.php file ?

Config.php is filled with the right MySQL Data.

MitanOmar commented 5 years ago

still having this problem ?? if yes give me an URL of your website

s1ntaxerror commented 5 years ago

still having this problem ?? if yes give me an URL of your website

It is localhost but if you want I can upload it. But one question: In which format Kleeja is generating the image urls? like this? -> 127.0.0.1/imageid.php?=12345678, so a 8 digit or something different?

MitanOmar commented 5 years ago

Row ID in database (example.com/do.php?id=123) File name (example.com/do.php?file=filename.pdf) Direct (example.com/uploads/filename.pdf) this is URLs examples , and if the website is in your local host i can not help so much , but try to check klj_config table in db , if the 'siteurl' is correct or not

s1ntaxerror commented 5 years ago

Row ID in database (example.com/do.php?id=123) File name (example.com/do.php?file=filename.pdf) Direct (example.com/uploads/filename.pdf) this is URLs examples , and if the website is in your local host i can not help so much , but try to check klj_config table in db , if the 'siteurl' is correct or not

'siteurl' is correct but how are the Image ID's generated? Are they always only 3digit and which algorithmus is used to generate them?

MitanOmar commented 5 years ago

kleeja bring the ID from the database inserted ID , mysql make it unique , so kleeja is not generating the ID's , only bringing from mysql

s1ntaxerror commented 5 years ago

But how is MySQL creating that ID? And how much digits does that ID has?

abdumu commented 5 years ago

It's auto increment. It means 1+ the last number. If your website is new it will start from 1.

dotcomUNDERGROUND commented 2 years ago

Try disabling mod_rewrite.

That's the only way I can make the app work. Otherwise everything gives 404