Sublime directory Surf the web anonymous Pagerank Monitor


Problems with the class

Taurek
Tue 31 July 2007, 01:38 pm GMT +0200
Hi Olaf

i getting this error when the update_user_profile.php is loaded
Quote
Notice: Use of undefined constant UPDATE_PROFILE - assumed 'UPDATE_PROFILE' in /home/hartkdbd/www.domain.com/classes/access_user/update_user_profile.php on line 5

The Line 5 in this document $update_profile = new Users_profile(false);

An another error or functionality that disturb my design is, when i click on "update" in update_user_profile.php then a new line is showing above the table.

Quote
UPDATE xxxx_xxxx_db.users_profile SET language='', strasse='street', plz='postcode', ort='city', country='', telefon='phone', handy='mobile', geburtstag='birthday', bild='xxxx.jpg', eintritt='date', user_1='', user_2='', user_3='', user_4='', last_change=NOW() WHERE id = '1' AND users_id = 37

Olaf do you have any idea what wrong with the script?

Notice: All Variables will be updated in the DB

Thanks for help

olaf
Tue 31 July 2007, 01:56 pm GMT +0200
do you change the table fields in the class?

check this thread
http://www.webdigity.com/index.php/topic,2345.0.adding+new+fields+to+the+profile+table.html

Taurek
Tue 31 July 2007, 02:10 pm GMT +0200
I copied your files to my webserver. And i getting the same errors

Any more ideas?

Notice:
ext_user_profile.php (originally)
update_user_profile.php (originally)

Database: i used your SQL File

Any Ideas?

olaf
Tue 31 July 2007, 02:18 pm GMT +0200
check the used names used in the provided files and the database, what you have posted above

"UPDATE xxxx_xxxx_db.users_profile SET language='', strasse='street', plz='postcode', ort='city', country='', telefon='phone', handy='mobile', geburtstag='birthday', bild='xxxx.jpg', eintritt='date', user_1='', user_2='', user_3='', user_4='', last_change=NOW() WHERE id = '1' AND users_id = 37"

is not mine :)

Taurek
Tue 31 July 2007, 02:32 pm GMT +0200
Yes your right!! Not at this time!!

But i replaced my modified files with yours, but i get the same error  :)

The only thing that i modified is this "error_reporting (E_ALL);

Archive for SMF v1.00 by N.P. Valid XHTML 1.0 Transitional