Error after installation.

A place to discuss and receive support for the Web Auction application.

Postby shannah » Thu Jun 28, 2007 7:54 am

Actually. I just checked out your link, and it isn't giving me any errors. Are you referring to the "Block xxx" stuff that is interspersed throughout the page? Those are there because you have turned on debug mode in the conf.ini file. Comment out the line of the conf.ini file that says:
debug=1

i.e. change it to
;debug=1


Note the semi colon

-Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby harry » Wed Jul 25, 2007 8:07 am

Hi,
Can anyone help me ?
I get the following message

Warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 305123 is not allowed to access /customers/2four24.com/2four24.com owned by uid 0 in /customers/2four24.com/2four24.com/httpd.www/install.php on line 47

Thanks if someone can help me
Harry
harry
 
Posts: 3
Joined: Wed Dec 31, 1969 5:00 pm

Postby harry » Wed Jul 25, 2007 8:38 am

I am desperate,

Now I get all of this

Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 305123 is not allowed to access /tmp owned by uid 0 in /customers/2four24.com/2four24.com/httpd.www/dataface-0.7.1/Dataface/Application.php on line 556

Warning: ini_set() [function.ini-set]: SAFE MODE Restriction in effect. The script whose uid is 305123 is not allowed to access /tmp owned by uid 0 in /customers/2four24.com/2four24.com/httpd.www/dataface-0.7.1/Dataface/Application.php on line 557

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /customers/2four24.com/2four24.com/httpd.www/dataface-0.7.1/Dataface/Application.php:556) in /customers/2four24.com/2four24.com/httpd.www/dataface-0.7.1/Dataface/Application.php on line 559

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /customers/2four24.com/2four24.com/httpd.www/dataface-0.7.1/Dataface/Application.php:556) in /customers/2four24.com/2four24.com/httpd.www/dataface-0.7.1/Dataface/Application.php on line 559

Fatal error: Error performing mysql query to get column information from table 'products'. The mysql error returned was : 'Table '2four24_com.products' doesn't exist'.
On line 404 of file /customers/2four24.com/2four24.com/httpd.www/dataface-0.7.1/Dataface/Table.php in function printStackTrace()
On line 1893 of file /customers/2four24.com/2four24.com/httpd.www/dataface-0.7.1/Dataface/Table.php in function Dataface_Table(products,Resource id #12,)
On line 678 of file /customers/2four24.com/2four24.com/httpd.www/dataface-0.7.1/Dataface/Application.php in function loadTable(products)
On line 1287 of file /customers/2four24.com/2four24.com/httpd.www/dataface-0.7.1/Dataface/Application.php in function handleRequest()
On line 11 of file /customers/2four24.com/2four24.com/httpd.www/index.php in function display()
in /customers/2four24.com/2four24.com/httpd.www/dataface-0.7.1/Dataface/Table.php on line 404
harry
 
Posts: 3
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Wed Jul 25, 2007 10:27 am

Hi,

Looks like your server has SAFE mode in effect. Currently Dataface has some issues working with SAFE mode, and I haven't had a chance to try to resolve them. One key problem is that with SAFE mode it mucks with the creation of directories, and dataface needs to create some directories in the templates_c directory to organize its templates.

Here is a quote from the PHP manual page on safe mode:

The PHP safe mode is an attempt to solve the shared-server security problem. It is architecturally incorrect to try to solve this problem at the PHP level, but since the alternatives at the web server and OS levels aren't very realistic, many people, especially ISP's, use safe mode for now.


Since this was written, there are lots of options to solve this problem inside the operation system. And most web hosts don't need to use safe mode anymore. Of course some hosts still use it because they don't want to fix what ain't broken (in their mind).

PHP 6 has removed safe mode, so it looks like the days of safe mode are over.

I.e. I'm not sure how much energy I want to put into solving the safe mode problem....

Best regards

Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby harry » Wed Jul 25, 2007 1:19 pm

Hi Steve,

Thank you for explaning. I am not an expert in this kind of things but I think I understand.
Maybe it's better to swicth from hosting company and try again.
I have hosting at www.one.com but it seems that they have a lot of problems with some scripts.
I will look for other hosting and keep you updated.
Can you recomend me some good hosting company's ?

Thanks
Harry
harry
 
Posts: 3
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Wed Jul 25, 2007 1:52 pm

Hi Harry,

There are too many web hosts out there to keep track of. Most of them will do the job for you. I have worked with the following web hosts and found them to be pretty good.

1. westhost.com (I use these guys for most of my servers).
2. doteasy.com (these guys are nice and cheap and pretty "user-friendly")
3. pair.com (These guys are a major player with PHP - they host a bunch of PHP project sites, etc... I have one client who uses these guys and they seem pretty good).

Features that are a *must* on web hosts that I choose are:
1. No php safe mode. (i.e. php should not be running in safe mode).

Features that are *nice to have*:
1. SSH support. (This is nice for uploading files. The ability to upload an entire gzip archive and then extract it on the server, rather than having to upload the files individually can save many hours).
2. Virtual Private Server (this is for power users who want to be able to install other types of servers and services on their web space other than PHP/Apache. For example if you wanted to install a video server, or an alternative web server, you could do that if you had a virtual private server -- but for the average user you won't need this).


Hope this helps a little.

-Steve
Last edited by shannah on Fri Dec 07, 2007 12:52 pm, edited 1 time in total.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby harry » Thu Jul 26, 2007 2:17 am

Thanks steve,

I am looking into it now,
I will keep you updated

Harry
harry
 
Posts: 3
Joined: Wed Dec 31, 1969 5:00 pm

Postby evlthecat » Mon Oct 08, 2007 1:13 pm

Adding one more to the list of free\pay web hosts.

x10hosting.com: 300MB free no Adds.. Dataface and webauction installed in 30 Meg

One thing, you must request an upgrade to php configuration. In their account manager request: "Intermediate PHP Configuration"

They are really good to work with, had Dataface and webauction up and running in an hour without any issues. I shed a tear. You guys are doing a great job on development\support\everything.
evlthecat
 
Posts: 3
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Fri Dec 07, 2007 12:51 pm

Just thought I'd add a link to Westhost. I've been using them for a couple of years with no complaints. I particularly like their VPS (virtual private server) technology that makes it like I have my own dedicated server with root-like access.

I have their dedicated hosting plan that allows me to set up pretty much unlimited virtual servers, but plans start at as low as like $7 per month.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Previous

Return to Web Auction Discussion

Who is online

Users browsing this forum: No registered users and 10 guests

Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved