Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

DB_USER_FIELD_CATS

Asked Modified Viewed 3,362 times
V
vasiliya
V
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
asked
Newbie

Hi all, the update to 7.01.02 is, on the whole, satisfactory, but i have a some problems.
Notice: Use of undefined constant DB_USER_FIELD_CATS - assumed 'DB_USER_FIELD_CATS' in /home2/u47444/fast-constru/www/profile.php on line 100
Table 'b47444.DB_USER_FIELD_CATS' doesn't exist

$result2 = dbquery(
      "SELECT * FROM ".DB_USER_FIELDS." tuf
      INNER JOIN ".[color=#ff0000]DB_USER_FIELD_CATS[/color]." tufc ON tuf.field_cat = tufc.field_cat_id
      ORDER BY field_cat_order, field_order"
   );
   if (dbrows($result2)) {
      while($data2 = dbarray($result2)) {
         if ($i != $data2['field_cat']) {
            if ($ob_active) {
               $user_fields[$i] = ob_get_contents();
               ob_end_clean();
               $ob_active = false;
            }
            $i = $data2['field_cat'];
            $user_cats[] = array(
               "field_cat_name" => $data2['field_cat_name'],
               "field_cat" => $data2['field_cat']
            );
         }


here

But this table exist
Edited by vasiliya on 27-10-2010 13:39,
0 replies

5 posts

W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

If i experienced this notice, then i would check maincore.php for this line:

// Multisite definitions
require_once BASEDIR."includes/multisite_include.php";


If that was ok, then i would check if includes\multisite_include.php is located where it is supposed be located and contains this line:

define("DB_USER_FIELD_CATS", DB_PREFIX."user_field_cats");


Did you modify any of these files?
0 replies
V
vasiliya
V
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

WEC your welcome.
Edited by vasiliya on 27-10-2010 13:40,
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

3 Consecutive bumps in under 30 mins, nice.

TIP:Next time you need to add anything please use "Edit" makes things a lot easier.

Thank Gov.
0 replies
W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

And if the thread should be useful to anybody else, then the notice was fixed by re uploading files. So probably a matter of corrupted file upload.
0 replies
V
vasiliya
V
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

and I'm talking about too WEC :) respect you
0 replies

Category Forum

Upgrading issues - 8

Labels

None yet

Statistics

  • Views 0 views
  • Posts 5 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
W
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
V
V
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet