Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
0 registered (), 33 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/02/04
Posts: 195
Top Posters (30 Days)
Ruben 51
DennyP 24
Gizmo 23
Dunny 16
SteveS 14
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 2 of 2 < 1 2
Topic Options
#183784 - 05/03/07 08:11 PM Re: Safe mode sucks.... [Re: Rick]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
 Originally Posted By: Rick
Well considering we still have quite a few potential customers that are on hosts that are still running something earlier than PHP 4.3, it will be awhile before we make the leap to having PHP5 as a requirement. ;\)


Phew \:\) \:\)

But i can Turn Safe mode off \:\)

I don't think Direct Admin (My Server control panel) supports php5 yet officially.
And i haven't a clue how to upgrade to it.
along with mysql its a nightmare Gizmo can do with out lol
_________________________
Version v7.5.6 smile smile < Threads satisfaction status
People who inspire me Rick Gizmo Ian David jgeoff ntdoc
Oooo i hear 8 is coming? just after 7 my friend.
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#183789 - 05/03/07 09:05 PM Re: Safe mode sucks.... [Re: Mark S]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
Psh, if you screw up your server, I'm so charging you to fix it lol...

Can't wait for PHP6 though, looks like fun and a headache all at the same time lol...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#183893 - 05/06/07 04:15 AM Re: Safe mode sucks.... [Re: Gizmo]
Ian Offline
Registered: 06/05/06
Posts: 4337
Loc: Essex, UK
Wouldn't it be easier to just specify that safe mode must be disabled in order to fully run UBB?

I know that other software specifies this - shouldn't see why you should have to conform to having safe mode enabled.
Top
#183899 - 05/06/07 06:00 AM Re: Safe mode sucks.... [Re: Ian]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
It would be easier, but with a lot of hosts it's not an option or possibility, and people don't want to have to switch hosts just to run a script; especially when they're comfortable with situations at that host...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#183902 - 05/06/07 11:17 AM Re: Safe mode sucks.... [Re: Gizmo]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Yeah, it would definitely be easier to do that Ian ;\) But we have a lot of customers that are somewhat stuck on, or just don't want to move from, their current host that has safe_mode enabled.

So this will at least give them an option to have gallery forums, but it won't be as scalable as it would be on a host that doesn't have safe_mode enabled.
Top
#183906 - 05/06/07 03:19 PM Re: Safe mode sucks.... [Re: Rick]
Philipp Offline
journeyman
Registered: 07/30/06
Posts: 82
 Originally Posted By: Rick
Will have to allow it to run under both methods, but when safe mode is on it's not going to be as scalable since we can't create new directories. We'll have to just stuff everything into one directory on that condition.

It is not really a safe mode problem but a permission issue with mod_php. Basically, Apache's PHP module is creating the directories under the owner/user of the Apache webserver instead of the owner/user of the script. With enabled safe mode the script and directory must have the same owner.

A fix for this problem is using PHP with suexec. Some hosting control panel such as the pretty popular cPanel have suexec support.

On another note, it is also possible to store files in the MySQL database. This is sometimes even faster then files on the file system.
Top
#183915 - 05/06/07 08:21 PM Re: Safe mode sucks.... [Re: Philipp]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
 Originally Posted By: Philipp
On another note, it is also possible to store files in the MySQL database. This is sometimes even faster then files on the file system.
I would recommend against it, possible overhead issues that will likely be a pain for users who just want a simple gallery
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#183928 - 05/07/07 05:00 AM Re: Safe mode sucks.... [Re: Gizmo]
Philipp Offline
journeyman
Registered: 07/30/06
Posts: 82
It could be added as optional feature so the users can choose whatever they want.

I must admit that I was longtime myself not a big fan of MySQL based attachments or templates. However, this changed with the caching abilities of MySQL 4.1+
Top
#183938 - 05/07/07 10:50 AM Re: Safe mode sucks.... [Re: Philipp]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
We may add MySQL storage as an option at some point. We'll start with flat file storage for the initial release. When I started I had to make the decision to go with one way or the other. The downside to MySQL storage is many of our customers have limited MySQL storage space but a lot of actual hard drive space. The second factor is that if the image is stored in MySQL it can't be cached by the browser, as far as I know, which leads to more bandwidth.
Top
Page 2 of 2 < 1 2



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
Yesterday at 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10489 Members
36 Forums
33841 Topics
181706 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image