We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Strange troubles w/ Solspace User

Development and Programming

Dylan Smith/Context Design's avatar
Dylan Smith/Context Design
346 posts
16 years ago
Dylan Smith/Context Design's avatar Dylan Smith/Context Design

I’m having some major troubles w/ User - just trying to output a simple profile page, I’m running into some crazy errors. Posted in the Solspace forum, but haven’t gotten any help there.

Date formatting: nothing seems to work. Even using the simplest example,

{join_date  format="%m %d, %Y"}

outputs that text, not the formatted join date. Other fields (screenname, bio, etc) output fine. Removing the format parameter pulls the unformatted timestamp.

Calls like this:

{if avatar_filename}{avatar_url}{avatar_filename}{/if}

give me a white page.

And this:

<label>Private Message</label> <a href="http://{path=">/themes/profile_themes/default/images/icon_pm.gif</a>

becomes this:

<a href="http: 1=" pm="" messages="" member=""com="">  =link</img src="></a href="http:>

Any idea what’s going on here?

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
16 years ago
Lisa Wess's avatar Lisa Wess

Blank white pages tend to mean a hidden error. Do you have display_errors on on the server? Check in Admin -> Utilities -> PHP Info and look for display_errors.

       
Dylan Smith/Context Design's avatar
Dylan Smith/Context Design
346 posts
16 years ago
Dylan Smith/Context Design's avatar Dylan Smith/Context Design
Blank white pages tend to mean a hidden error. Do you have display_errors on on the server? Check in Admin -> Utilities -> PHP Info and look for display_errors.

Display errors is on - doesn’t show anything. I’m just getting the white page of doom when that line’s included. Which still doesn’t explain the date format oddities.

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
16 years ago
Lisa Wess's avatar Lisa Wess

Well, I haven’t used the User module, so I’m just trying general stuff. If you go to Admin -> System Preferences -> Output and Debugging, what does Error Output say?

Also have you checked your server’s error logs?

       
Dylan Smith/Context Design's avatar
Dylan Smith/Context Design
346 posts
16 years ago
Dylan Smith/Context Design's avatar Dylan Smith/Context Design
Well, I haven’t used the User module, so I’m just trying general stuff. If you go to Admin -> System Preferences -> Output and Debugging, what does Error Output say? Also have you checked your server’s error logs?

I’ve got all the debug options turned on. Error log shows one curious thing: it’s looking for a file that’s really a folder - File does not exist: (server/path)/reader. Reader is the template group I’ve assigned to the user templates.

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
16 years ago
Lisa Wess's avatar Lisa Wess

Can you paste the exact error?

       
Dylan Smith/Context Design's avatar
Dylan Smith/Context Design
346 posts
16 years ago
Dylan Smith/Context Design's avatar Dylan Smith/Context Design
Can you paste the exact error?
[Mon Aug 24 17:19:35 2009] [error] [client 70.176.234.122] File does not exist: /var/www/vhosts/mysite.com/httpdocs/reader, referer: http://www.mysite.com/reader/profile/1/
       
Lisa Wess's avatar
Lisa Wess
20,502 posts
16 years ago
Lisa Wess's avatar Lisa Wess

Are you removing index.php with .htaccess?

       
Dylan Smith/Context Design's avatar
Dylan Smith/Context Design
346 posts
16 years ago
Dylan Smith/Context Design's avatar Dylan Smith/Context Design
Are you removing index.php with .htaccess?

Indeed I am - using LG .htaccess Generator.

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
16 years ago
Lisa Wess's avatar Lisa Wess

My recommendation would be to try with index.php in place and with .htaccess temporarily removed; that might help you to isolate the issue.

       
Dylan Smith/Context Design's avatar
Dylan Smith/Context Design
346 posts
16 years ago
Dylan Smith/Context Design's avatar Dylan Smith/Context Design

I get the exact same results when doing that.

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
16 years ago
Lisa Wess's avatar Lisa Wess

Honest, having not worked with the User Module, I’m not sure what would cause that. Other template groups work fine?

       
Dylan Smith/Context Design's avatar
Dylan Smith/Context Design
346 posts
16 years ago
Dylan Smith/Context Design's avatar Dylan Smith/Context Design

Grrr.

A simple Zap Gremlins has fixed things up - some spaces in the code got mangled when I c/p’d from the examples.

Sorry for the bother. ; )

See .(JavaScript must be enabled to view this email address) at Solspace

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.