News:

Join the Facebook Fan Page.

Main Menu

profile doesnt work

Started by thalantis, December 18, 2009, 04:49:44 AM

Previous topic - Next topic

thalantis

im using rc2 and when im logged in and click profile, i get

Unknown column 'mem.pm_receive_from' in 'field list'
File: E:\inetpub\vhosts\eekthecatworld.com\httpdocs\hafa-adai\Sources\Load.php
Line: 998

my forum is at www.hafa-adai.eu [nofollow]

ok im a step further, i now get
Unknown column 'enclose' in 'field list'
File: E:\inetpub\vhosts\eekthecatworld.com\httpdocs\hafa-adai\Sources\Profile.php

JBlaze

What version SMF are you using?
Any mods installed? If so, which ones?
Jason Clemons
Former Team Member 2009 - 2012


thalantis

im using smf 2 rc2

i have done the

ALTER TABLE smf_members
ADD pm_receive_from tinyint(4) unsigned NOT NULL default '1';

as suggested in the link

i will try the large upgrade package

thalantis

still the same error, tried an large upgrade, even tried the full install.

Unknown column 'enclose' in 'field list'
File: E:\inetpub\vhosts\eekthecatworld.com\httpdocs\hafa-adai\Sources\Profile.php
Line: 689

anyone have an idea

Arantor


thalantis


Arantor

Have you set any custom profile fields up?

thalantis

not that i know off, i did upgrade the forum from 1.1 to 2.0 4 weeks ago or so.

Arantor

So you haven't gone into Admin > Configuration > Core Features and enabled Advanced Profile Fields?

thalantis

no thats off, is the php version important, does it have to be version 5?

Arantor

No, SMF works on PHP 4 too.

Weird though, because the code in question that's giving you an error is related to the advanced profile fields. Has it ever been on?

thalantis

yes its been off all the time

Arantor

Do you have access to phpMyAdmin or similar?

thalantis

yes i do but its really slow, think thats because of plesk

Arantor

Can you go into the database, and take a look at the structure of the custom_fields table and tell me what you find there please?


Arantor

There should be two more columns, enclose (type 'text', collatie 'latin1_swedish_ci', not null) and placement (tinyint, length 3, attributes unsigned)

thalantis

thanks that worked :)

only problem left is when people click register, they get

An Error Has Occurred!
Unable to load the 'before' template.

Arantor

o.O

What theme are you trying to use? If the default (Curve) theme is shown to guests, does it work then?

thalantis

i get the same error if guests see the default theme.

im using the world of warcraft theme -> http://custom.simplemachines.org/themes/index.php?lemma=1626

Arantor

And what mods do you have installed?

thalantis


greyknight17

Is this issue resolved now? If not, download the Large Upgrade Package again for your version. Upload all the files and overwrite the ones you currently have. You may leave out all the upgrade related files. Try to click on register button again to see if the error returns.

thalantis

yes the large update package finally solved the problem, tnx :)

Advertisement: