Config_form.php issue - not saving settings


this little issue is driving me crazy. It is most probably the most simplest thing ever, but i can’t figure it out!

I have installed the million dollar homepage script because i want to try something different with it. Everything is set up fine, i think, but when if comes to my admin page (.com/admin/config_form.php) i cant seem to save the settings. It keeps sending me to the top of the page whilst resetting everything at the time. Below is some of the config_form code. I’m hoping it is something simple and not server based/database based as i am currently using the top linux package with godaddy.



Thanks in advance for any help on this matter :slight_smile:


Hi Andy,

Try re-doing your code, like this:



That should make your Config_form.php file, save your settings.

Hope this helps…


Thanks, i am going to check that now. I am having another problem though, with preg match.

[php]* Please check

  • for Bugfixes, Updates and Support/
    If(preg_match(basename(FILE) , $HTTP_SERVER_VARS[REQUEST_URI]))
    die (“You can’t access this file directly! Please go to the startpage!”);

$VERSIONS[basename(FILE)] = “3.0”;
$TMP[’%[GRIDS]%’] = ‘’;

i keep getting the error:

Warning: preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in /home/content/41/10699241/html/grids.php on line 23

Line 23 being: “Please Check” - shown above.

I have tried different delimiters, checked them with snytax and there are no errors bit still get this warning.

Thanks again for your reply, it’s appreciated! :slight_smile:


Hi Andy,

I can’t see anything wrong in your code but I think you’re not allowed any alphanumberic letters or a backslash in preg_match() code.

Hope this helps…


High William, thanks for you reply. I have started a separate topic on this issue, which can be found just above this topic.

No matter how many delimiters i use, in different ways, i keep getting an error on my website. But there is no errors in the code, as i have checked with syntax checker online?

It’s an odd one lol :slight_smile:

Thanks again!


Hi Andy,

That’s odd. I’m not an expert on PHP code, so I can’t help you any further, sorry.

As you said, I have seen the other topic and a Expert PHP Helper is helping you there.

I’m glad I could help and I hope your issue gets sorted,


Sponsor our Newsletter | Privacy Policy | Terms of Service