Elxis CMS Forum
Support => Administration => Topic started by: Kestas on February 19, 2008, 14:45:44
-
Hi everybody.
Might be it's only me who encounters the problem, but still I want to solve it and I don't know how.
When I try to log out form administrator's area, I don't see my avatar on the log out screen, but on the demo page demo avatar (noavatar.png) is visible. So I assume something is wrong with my parameters. Where is the solution of this problem? ???
-
Edit the user (administrator -> users) and make sure an (existing) avatar image is attached to him.
-
Hello datahell,
Definitely that was my first step trying to solve the problem. I edited the user, assigned him the avatar, saved the information. Avatar now is in the avatars' folder of Elxis directory in my localhost server, user also has the record about the avatar in the users' database table, but still nothing happened. I still can't see my avatar on the logout screen.
I wouldn't have written here if I would be able to find the medicine to the disease myself ;)
-
Hi Kestas
Could you please check read/write permissions of your uploaded avatar?
-
Hi Ivan,
I checked folder permissions. The folder and the avatar have all read and write permissions.
Moreover, when I log in through my front end page, I see my avatar, as well as I see it when I try to edit user details at the back end.
My logout screen looks like this:
[old attachment deleted by admin]
-
Can you read the source of that screenshot and see the path of the supposed avatar/image?
-
Is your Elxis installation in subfolder?
EXAMPLE: http://www.domain.com/elxis/ or http://localhost/elxis/
-
Ivan, no, my Elxis installation is not in the subfolder(localhost\sitename\elxis). It's in the localhost\sitename folder, so the same as directly in the websites public html.
The source, where the logout screen's avatar is displayed is this:
Elxis demo website:
<td>
<img src="/images/avatars/noavatar.png" title="admin" class="elx_logoutprofimg"><br>
<strong>Sernayme Nickolas</strong>
</td>
My own site:
<td>
<img src="/images/avatars/62_Avatar.jpg" title="admin" class="elx_logoutprofimg"><br>
<strong>Adminas</strong>
</td>
I can't see any difference.
And as I said, image named "62_Avatar.jpg" is in the htdocs\sitename subfolder images\avatars as well as the record in databese user's table.
Two instalations on different computers (both having XAMPP 1.6.4 versions) give the same results. Some misterious problem :)
-
OK, so I thought...
Your installation is on localhost. In this scenario, http://locahost IS YOUR DOMAIN NAME, wich makes every virtual site you create a subfolder.
EXAMPLE:
http://localhost/elxis2006.4/
http://localhost/elxis2008.0/
http://localhost/elxisSMF/
...
Am I right?
I hope you can understand what I'm saying. You would have to employ some VHM, like cPanel inorder to create multiple domains. Try to install on some real domain on a real hosting server, and everything will be OK. The more I write, the less I understand what I'm saying... :P
-
Hi Ivan! Thanks for your patience ;)
I understood what you tried to say to me, and as I said, I was working on my computer's localhost, so every subfolder in the folder htdocs I tract like separate website.
I don't know why, but as you advised, after installing Elxis 2008 on the real hosting server, everything is ok.
Most probably the problem is with the permissions of files and folders. Thanks for everybody, seems this topic can be closed now ;)