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


shifasiddeqque opened this issue Apr 3, 2021 · 5 comments


shifasiddeqque opened this issue Apr 3, 2021 · 5 comments


Copy link

shifasiddeqque commented Apr 3, 2021

I have upgraded Dotproject to a newer version (2.2.0) but while i point dot project to my old DB(even not working with the existing db which got created during installation), i am not able to login, redirecting me to the same login page again and again despite the correct password, Please help

#40 #153 #157 #133

edit: The project is working Locally, i ran the project in different php version and is working fine

Copy link

Just for curiosity's sake, what PHP and MySQL versions are you using with that project, and what versions do you have locally, where you say that it's working fine? What do you get in the logs?

Copy link

@GwynethLlewelyn Thank you so much for the reply,

it worked now, but i am getting a new issue as images are not getting populated, Do you have any idea about that??
All images are present if i see the folder, However on inspecting i am getting 403 error , attaching screenshot


For your knowledge i am using
PHP 7.3 (ea-php73)
Sql 5.7.23-23(After Running this query SHOW VARIABLES LIKE "%version%")

i am attaching screenshots

if you can help I will be highly grateful

Copy link

Well, the most important thing is that dotProject works 😸

As for the images, my guess is that something changed on your web server, and now, for some reason, the directory with the files is deliberately set to be off-limits. In other words: it's possible that the image files are all there, in the right place, but the web server was configured to explicitly forbid access to that directory. Usually, the more likely reason is bad permissions/ownership (either on the directory, on the files themselves, or both).

What do the web server logs say?

I forgot to ask what web server you're using; if by any chance you've got nginx installed, if you get an error message such as:

[error] 123456#123456: *98765 access forbidden by rule, client:, server: request: "GET /images/icons/stock_edit-16.png HTTP/1.1", host: ""

this is a sign that you have something in the configuration that deliberately disallows access to the images directory (numbers are made up).

Try the following:

Inside /images/icons/ you should have a file called images.html. What happens on the browser when you go to Ordinarily, it just shows a blank page (you can write a few things on that file, just to make sure you're getting the 'right' file). If you get the same Forbidden (403) error, then it's clear that there must be a rule in your web server configuration explicitly forbidding access to that directory.

If you get index.html to display without any errors ('forbidden' or otherwise), but cannot display any of the images inside that directory when manually typing their name on the browser, and all have the same permissions and ownership — then it would seem that the web server has a rule forbidding images to be shown... at least, .png and .jpg. This is rather unusual, but it might be worth taking a look!

Also: is your web server directly accessible from the 'outside world', or do you have some sort of reverse proxy/http accelerator/CDN in front of your web server? If so, are you able to access the server directly via the internal network (e.g. eventually typing its local, private IP address instead of the server name)? That would mean that whatever issues you've got with the images are tied to whatever server/service you've got running in front of your web server. This would be more common.

Finally: are you able to upload images/documents via dotProject, and then retrieve them again? If not, then there really must be an issue with your directory setup — dotProject is not figuring out correctly where the files are supposed to be, and/or there are some permission/ownership issues along the way.

... oh, and for good measure, clear the cache in dotProject 😄 It's always worth doing that before testing anything else... 😉

Good luck...

Copy link

Thank you so much for such a neat clarification @GwynethLlewelyn , it worked

But I am getting one more issue, While trying to click on the issue attachment, it is giving me error

Warning: Use of undefined constant LOCALE_FIRST_DAY - assumed 'LOCALE_FIRST_DAY' (this will throw an Error in a future version of PHP) in ../pm/classes/date.class.php on line 10

Warning: Cannot modify header information - headers already sent by (output started at in ./pm/classes/ui.class.php on line 585

and if i comment out the said line in date.class.php, it is then giving error "| fileIdError
-- | --"

Help would be highly appreciated

Many thanx once again

Copy link

Yay! I'm glad you sorted that out! 👍

As for your other issue, I believe that this is the same as #158 — take a look at my solution there and see if it works for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

2 participants