Install problem -


#1

I’m installing Ablespace on a site and have come across an issue with allow_url_fopen

I’ve found this http://wiki.dreamhost.com/CURL but wouldn’t know where to start to change the piece of code in the install.php if anybody can help I’d really appreciate it.

Code below.

[quote]if ($myinstall->step==5 )
{
ini_set(‘allow_url_fopen’, 1);
$loader_url = “http://abk-soft.com/ioncube/” . $POST[‘os’] . “/”;
$loader = "ioncube_loader
" . substr($POST[‘os’], 0, 3) . "" . ((float) phpversion()) . “.” . (substr($_POST[‘os’], 0, 3) == “win” ? “dll” : “so”);
copy($loader_url . $loader, “…/ioncube/” . $loader);
$myinstall->html.=‘Check the site now!
If all is ok please delete the install folder, if no please contact us.

Admin access: www.your_site.com/admin/index.php : test

Set the cron jobs:
_cron/hide.php - every minute
_cron/gold.php - every day’;
}[/quote]


#2

I’d be inclined to simply remove the ini_set, $loader_url, and $loader lines from step 5 completely. All they’re doing is downloading the ioncube loader from abk-soft (which won’t work until you’ve setup your own customised PHP environment anyway).

You’ll find information on installing the required ioncube loader in the Wiki.

Maximum Cash Discount on any plan with MAXCASH