I see your upload but it won't load on my end to view. I suspect that might be an issue with the mod itself. I'll write them and see what they say.
However, your changes did allow you to upload the video but I still cannot create a new user and that new user upload a file. A new directory for each user is made by the script upon their first upload and its that process that's not being done correctly. Each new user would need me to change their permissions (if I could, and if not I'd write you guys for each new user) when they try to upload for the first time. This obviously isn't the intended way to handle it.
I don't know why their script works perfectly on some servers and not on others. There must be some setting that's different somewhere.
Any further thoughts?
I don't have any thoughts for now, maybe I'll wait for an update from you on what the authors have to say.
Also, here's my latest reply to them and their subsquent reply regarding the failure to create directories with the proper chmod:
Them: I don't have any thoughts for now, maybe I'll wait for an update from you on what the authors have to say.
To be honest I'm not sure either - files and folders created by PHP automatically should be readable and writeable by PHP. Anything else is a misconfiguration somewhere on the server - it's not something I've ever heard of before.
Awesome, thanxThat's something different that has been around since the start. Thanks for reminding me about that problem btw. I still haven't figured out what's causing it, I'll get back to it now.
I just got off the phone with my host and he thinks he might know where the problem lies. He's testing something out and said he'd get back to me tomorrow hopefully. I'll let you know what he says.This is a new problem and there haven't been any software changes, it sounds more like something was changed/upgraded on the server that screwed up the permissions.
I changed the instances in the file that said:
mkdir($filedir, octdec(0755));
to
mkdir($filedir, 0755);
These are the 2 files that I changed:
/dbtech/gallery/actions/admin/doaddinstance.php
/dbtech/gallery/includes/class_core.php
I just did a test and it ran without any issues.
We use essential cookies to make this site work, and optional cookies to enhance your experience.