Forums

error 401 create table

Per 28 Nov, 2011
I'm happy to say that it's a wonderfull app. you have made. Joomla 1.7 Form V4
But after creating forms on local server, I wanted to place it on my external server. But when I created a table from Form Manager I got this error:
"Error 403: Forbidden
Your PHP settings have been disabled by an H-Sphere administrator.
Your current PHP configuration:
This configuration was changed: Mon Nov 28 02:00:14 UTC 2011
Please bring your PHP configuration in compliance with admin settings or request your administrator to re-enable support of your settings".

If I run this PHP:
<?php
// Make a MySQL Connection
mysql_connect("xxx.xx.dk", "xx_x", "xxxxx") or die(mysql_error());
mysql_select_db("nordics_Shop") or die(mysql_error());
mysql_query("CREATE TABLE example(
id INT NOT NULL AUTO_INCREMENT,
PRIMARY KEY(id),
name VARCHAR(30),
age INT)")
or die(mysql_error());
echo "Table Created!";
?>
It works perfectly

Hope you can help me.
Best regards Per B
GreyHead 28 Nov, 2011
Hi Per,

What error do H-Sphere report? The message you've posted here appears to be empty?

I suggest that you check the error logs and/or speak to H-Sphere's help service to find out what the error is.

WE have seen some servers where it's not possible to create large tables because there is a limit on the number of form variables that they allow to be submitted. I don't think that is the problem here.

Bob
Per 28 Nov, 2011
Thanks for fast reply Bob.
The support people tells me that it is the configuration of the php file, and they can not help any more. Oh what a help.
It's for sure not a matter of the size of the tabel. As I can create the label with my own php file with all the same fields.
It seems as I have found a way around the problem for now. Taking a backup of the local site and moving it to my publick site, the people can use my forms.
I think it is strange and will dig a little futher into it, but for now it seems like I manage.
Thanks for your help and have a nice day.
GreyHead 29 Nov, 2011
Hi Per,

Sorry about the problem - my suggestion is that you change web-hosts. There are plenty of more helpful services out there.

Bob
This topic is locked and no more replies can be posted.