URGENT. Pre-defined lists help.

All the topics other than the two goes here.
  • Ads

URGENT. Pre-defined lists help.

Postby gracey » Tue Aug 18, 2009 6:37 pm

I am suddenly having problems with setting a pre-defined list for a new user field. When I go to Admin Panel > Settings > Predefined Values. I can create a new predefined list and enter the new values. I have also checked through PHPAdmin and the new values are in the Prevalues table. But when I try and link my new predefined list to a field (e.g #!Predefined list) I get a red box highlighted saying "you have entered an incorrect link" and it doesnt let me set it.

I also made some changes to an old predefined list by removing some values and even though I have deleted the rows from the `Prevalues` table in the database, they are still showing in the drop down box. I am using version 6.1.4. Please can anyone help with this, it is urgent. Thanks v much.
gracey
Newbie
Newbie
 
Posts: 11
Joined: Mon Oct 20, 2008 2:06 pm

Re: URGENT. Pre-defined lists help.

Postby Administrator » Wed Aug 19, 2009 4:04 pm

Make sure in future you do not edit directly in database.

Open the folder inc
backup the file prof.inc.php
and delete the one there.
Then create a file prof.inc.php and change the permission to 666.

Then goto admin folder and create a file (file.php) with following contents.

Code: Select all
<?php
require_once( '../preValues.php' );
compilePreValues();
?>


After thin goto http://www.your_website.com/admin/file.php
This will fix the problems that you have.
Regards,
Praveen
Administrator
Administrator
Administrator
 
Posts: 1069
Joined: Mon Aug 25, 2008 7:18 am
Location: India

Re: URGENT. Pre-defined lists help.

Postby gracey » Thu Aug 20, 2009 1:28 pm

Thanks Praveen
gracey
Newbie
Newbie
 
Posts: 11
Joined: Mon Oct 20, 2008 2:06 pm

Re: URGENT. Pre-defined lists help.

Postby Administrator » Fri Aug 21, 2009 12:57 pm

you are welcome.
Regards,
Praveen
Administrator
Administrator
Administrator
 
Posts: 1069
Joined: Mon Aug 25, 2008 7:18 am
Location: India

  • Ads

Return to Dolphin General Help

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron