Support » Fixing WordPress » Installing WP through a custom installer via iFrame

  • Hi,
    im trying to install WP through a custom file, via an iFrame in the parent directory.

    my website at
    WP files in

    -> my installer.
    |–> has an iFrame =>

    it gets installed alright, but when i log in thru admin, via the pwd so provided, i am getting an error:

    You do not have sufficient permissions to access this page.

    the following is the cut down version of the code im using:
    [stripped out all validations]

    	define('WP_DEBUG', true);
    	define('WP_INSTALLING', true);
    	if( !isset($_GET['wp_pbb_call']) || $_GET['wp_pbb_call']!='create-blog') wp_die(".");
    	$DATA = '';
    	$tt = '';
    	$result = wp_install($_GET['blog_title'], 'admin', $_GET['blog_email'], $_GET['blog_public']);
    	extract($result, EXTR_SKIP);
    // html follows //

  • The topic ‘Installing WP through a custom installer via iFrame’ is closed to new replies.