PDA

View Full Version : Install Error!


imk
05-09-2011, 04:04 PM
I created a db and update config - but when i go to /install it gets to 2-%then shows me this error message

Unexpected Text:
<?xml version="1.0" encoding="windows-1252"?>
<br />
<b>Warning</b>: ini_set() has been disabled for security reasons in <b>/home/cpafix/public_html/vb/vb.php</b> on line <b>114</b><br />
<upgrade>
<message replace="0">Inserting default data into adminutil</message>
<message replace="0">Inserting default data into attachmenttype</message>
<message replace="0">Inserting default data into datastore</message>
<message replace="0">Inserting default data into bookmarksite</message>
<message replace="0">Inserting default data into calendar</message>
<message replace="0">Inserting default data into contenttype</message>
<message replace="0">Inserting default data into cron</message>
<message replace="0">Inserting default data into datastore</message>
<message replace="0">Inserting default data into faq</message>
<message replace="0">Inserting default data into forum</message>
<message replace="0">Inserting default data into icon</message>
<message replace="0">Inserting default data into imagecategory</message>
<message replace="0">Inserting default data into language</message>
<message replace="0">Inserting default data into package</message>
<message replace="0">Inserting default data into paymentapi</message>
<message replace="0">Inserting default data into profilefield</message>
<message replace="0">Inserting default data into phrase</message>
<message replace="0">Inserting default data into phrase</message>
<message replace="0">Inserting default data into phrase</message>
<message replace="0">Inserting default data into phrase</message>
<message replace="0">Inserting default data into phrase</message>
<message replace="0">Inserting default data into phrase</message>
<message replace="0">Inserting default data into phrase</message>
<message replace="0">Inserting default data into phrase</message>
<message replace="0">Inserting default data into phrase</message>
<message replace="0">Inserting default data into phrase</message>
<message replace="0">Inserting default data into phrase</message>
<message replace="0">Inserting default data into phrase</message>
<message replace="0">Inserting default data into phrase</message>
<message replace="0">Inserting default data into phrase</message>
<message replace="0">Inserting default data into phrase</message>
<message replace="0">Inserting default data into phrase</message>
<message replace="0">Inserting default data into phrase</message>
<message replace="0">Inserting default data into phrase</message>
<message replace="0">Inserting default data into phrase</message>
<message replace="0">Inserting default data into phrase</message>
<message replace="0">Inserting default data into phrase</message>
<message replace="0">Inserting default data into phrase</message>
<message replace="0">Inserting default data into phrase</message>
<message replace="0">Inserting default data into phrase</message>
<message replace="0">Inserting default data into phrase</message>
<message replace="0">Inserting default data into phrase</message>
<message replace="0">Inserting default data into phrase</message>
<message replace="0">Inserting default data into phrasetype</message>
<message replace="0">Inserting default data into style</message>
<message replace="0">Inserting default data into infractionlevel</message>
<message replace="0">Inserting default data into reputationlevel</message>
<message replace="0">Inserting default data into smilie</message>
<message replace="0">Inserting default data into socialgroupcategory</message>
<message replace="0">Inserting default data into usergroup</message>
<message replace="0">Inserting default data into usertitle</message>
<status>Status: Installing, Step 5 of 7</status>
<longversion>install</longversion>
<version>install</version>
<nextstep>5</nextstep>
</upgrade>

boydy
05-09-2011, 05:06 PM
I think that's something you would need to speak to your host about...

borbole
05-09-2011, 05:13 PM
Your host has disabled ini_set, which is used for many PHP functions. You will need to contact them about this and ask them to enable it.

imk
05-09-2011, 06:11 PM
i remove ini_set() in php config in whm and then get a internal server error on install script

anyhelp or way around this?

my host wont help me as its not managed hosting

borbole
05-09-2011, 07:05 PM
i remove ini_set() in php config in whm and then get a internal server error on install script

anyhelp or way around this?

my host wont help me as its not managed hosting

You shouldn''t remove it but enable it.

imk
05-09-2011, 07:09 PM
how do i do this?

Brandon Sheley
05-09-2011, 07:09 PM
You don't remove it, do you have full access to your server.
Can you enable/disable services?

imk
05-09-2011, 07:13 PM
yes i just dont know how to enable it?

Brandon Sheley
05-09-2011, 07:15 PM
What kind of server do you have?

imk
05-09-2011, 07:15 PM
Whm Vps

borbole
05-09-2011, 07:17 PM
how do i do this?

That is part of the disable_functions in the php.ini file. Go to the PHP Configuration Editor then click on "Advanced Mode." This will let you view and edit all php.ini settings including disable_functions.

Brandon Sheley
05-09-2011, 07:18 PM
Whm Vps

what kind of server...

windows, unix?

imk
05-09-2011, 07:18 PM
i removed it from this function - yet that still wont enable it?

when i removed i got a internal server error on install.php

Brandon Sheley
05-09-2011, 07:19 PM
i removed it from this function - yet that still wont enable it?

when i removed i got a internal server error on install.php

NO ONE SAID REMOVE..... :rolleyes:

borbole
05-09-2011, 07:19 PM
i removed it from this function - yet that still wont enable it?

when i removed i got a internal server error on install.php

When you remove something, you can''t enable it. You shouldn''t remove it but simply enable it following the instructions I posted above.

imk
05-09-2011, 07:22 PM
^i respect the help but this tells me nothing about how to enable

im in the php screen now and i see ini_set under disable_functions safe mode

so i dont remove but how do i enable? it isnt found anywhere else on this page!

Brandon Sheley
05-09-2011, 07:24 PM
im in the php screen now and i see ini_set under disable_functions safe mode


is this the php.ini file?

imk
05-09-2011, 07:26 PM
Go to the PHP Configuration Editor then click on "Advanced Mode." This will let you view and edit all php.ini settings including disable_functions.


^this is there,

--------------- Added 1304973478 at 1304973478 ---------------

host told me to remove as i did but then got internal server error

they also said to run /scripts/easyapache


how do i do this?

very newbish on hosting

Brandon Sheley
05-09-2011, 08:18 PM
ah I see a copy and past answer :p
http://forums.cpanel.net/f5/enabling-ini_set-113929.html


It might be quicker if you just open a support ticket with vbulletin


Here is more info
http://php.net/manual/en/function.ini-set.php