close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Security Assist users_profile

Thread began 4/24/2012 10:23 am by cicyou421883 | Last modified 4/24/2012 12:10 pm by cicyou421883 | 1455 views | 3 replies

cicyou421883

Error with change of code

this error came up when entering:

<?php if (!isset($_SESSION)) { session_start(); } ?>

Parse error: syntax error, unexpected '<' in /home/content/54/7456454/html/users_Profile.php on line 4

So I went to the first code that you referred to,

if (!isset($_SESSION)) { session_start(); } ?>

and the error went away.

the first 5 lines now read:

<?php
error_reporting(E_ALL);
ini_set('display_errors',1);
if (!isset($_SESSION)) { session_start(); } ?>
<?php


In regards to the pre-populated form with the name and profile not in our database, I was able to see that perhaps both remember me and auto-login had to be checked? My computer is remembering the cookie, however, only remembers the e-mail not the complete profile. Complete profile is not entered on the site until the registration page or the login. So Autologin only get the person to an empty profile page now. Perhaps that is what you saw, not the stranger customer not in our database.

Is my solution to only leave the remember me checked box on the login? and not both remember me and the auto login?

Thanx, Jason,

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...