View Full Version : PHP issue

August 28th, 2006, 09:48 AM
I noticed in the requirements for installing the PhotoPost Classifieds that SafeMode must be OFF. But if users are only uploading images, isn't then sufficient that the image folder is set to 777 ? I meet all other requirements except for the safe mode issue.

Chuck S
August 28th, 2006, 10:35 AM

Not really the user uploads directory that must be created can not be created. New categories can not be created etc. Safe Mode hoses things because permissions

August 28th, 2006, 11:44 AM
There is absolutely no way around this ? because I have other php scripts that work fine with uploads with safe mode ON. I would hate to think that I have to move my forum to other server not being an advanced techie and I really need this module badly to accommodate my forum.

Chuck S
August 28th, 2006, 11:54 AM
Our program requirements are as you see them safe mode needs to be off.

August 28th, 2006, 02:14 PM
Yes, I see the obvious BUT you didn't really answer my question however. I am amazed that programming engineers like you guys here at PhotoPost cannot come up with a solution that affects so many users that do not have safe mode turned off. MOre and more hosts are setting the safe mode on for security reasons.

Thanks for your time....

Chuck S
August 28th, 2006, 06:04 PM
I answered your question just fine twice. I stated you must have safe mode off on the server.

Actually only like .05% of hosts set safe mode on. These are usually smaller outfits. Most big name hosts do not set safe mode to on cause they know its prevents alot of programs from functioning especially concerning file uploads.

August 28th, 2006, 07:03 PM
Sorry Chuck I didn't mean to sound grunchy..... at least now I am getting wiser.... since it will only be image that user will upload, I could actually run it but my members will just not be able to upload any images, right ?

Does it help that I have *fopen* feature switched on ? sorry to ask these questions but as I said I am not a techie.... :-(

I just need to know before even buying your script, if by having safe mode switched on, the only thing that my members cannot do is to upload pictures.

Oh by the way, I know from my forum that chmod setting 755 does not work on my server, I have to chmod files to 777 instead but as I understand it, this does break any security issues ?

Chuck S
August 28th, 2006, 07:50 PM
We can guarantee that it would work with safe mode on which is why we post it needs to be off. If you have vbulletin forum you can buy vbgallery which works with safe mode

August 28th, 2006, 08:14 PM
And what vbgallery would that be, I can't seem to find that on your site. And does it have the same nice features as your photopost classifieds ?

Chuck S
August 29th, 2006, 08:52 AM
Oops no classifieds is unique. vbgallery is a lite version just for vbulletin to compare with photopost pro.

As I stated from a company standpoint we do not guarantee things will work with safe mode on. I would recommend moving your site to anyone of the bazillion hosts who are not paranoid and do not run safe mode on.

August 29th, 2006, 09:24 AM

I thought that you might be referring to another version of the classifieds but as you realized, it's the classified version I am looking for as I like the features that the classifieds has.

You know what I think I will try and purchase it and see if I can resolve the issue regarding safe mode. I will try and set the image upload folder to 777 and hopefully it will resolve the issue, otherwise it's no big deal for now. I might be changing host later on anyway.

But tell me Chuck, is there any risk of chmod'ing files to 777 instead of 755 as indicated in installation ? cause as I mentioned earlier as far as I remember I wasn't able to set chmod to 755.

Oh, one last thing just to be absolutely sure..... does this script work with the Gold version of vBulletin 3.6 ?

Chuck S
August 29th, 2006, 09:40 AM
chmoding the uploads and data directories to 777 is what is noted to do in the install instructions as always when dealing with file uploads to a server you want to resulting directories to be 777 to allow uploads.

August 29th, 2006, 09:51 AM
Ok, thanks, I will proceed to purchase either today or during the week.