view listing no data showing

Discussion in 'Technical Support' started by b3d, Mar 6, 2010.

  1. b3d Customer

    What version of 68 Classifieds are you running?
    V4.1.9 Designer

    I am having this strange problem that I can't recreate. When I go to view a listing as a guest the only fields that show are extra and description... no photos, no name, address, etc. I checked mu user gorup setting and everyone can view all info including banned. If I login as admin I can see info and then when I log out again I can still see info. I just tried on another pc and I could see all info. This has happened twice. Both times after I have been on the site in a few hours.

    I'm not sure if it is just a problem with my browser/pc or the site. I have made modifications to viewlisting2.tpl but if I created a problem I can't understand why it would work ok sometimes and not others. Like I said I can't recreate the problem.

    If someone can take a look to see if it happens for you I would appreciate it.

    Thanks
  2. seymourjames All Hands On Deck

    Post the changes you made to that file and we can see more clearly what you may have done.
  3. Eric Barnes Guest

    I just checked out listing 16 and everything appeared normally.
  4. b3d Customer

    Yeah I was just over a friends and it looked fine. Must be something going on with my pc..... vista ... sometimes I wish I went Mac....

    Thanks guys
  5. b3d Customer

    It is happening again. No data shows except my extra field and a few other thing. Really weird. I am using IE 8.0.6. I tried on another pc running XP and IE 6 and ads look fine. See screen grab.


    Notice that the extra links on bottom are also missing e-mail friend and save favorites. This ad does have a photo. I am completely puzzled..


    I just logged in admin and now ad looks ok. When I log out it still looks ok???
  6. seymourjames All Hands On Deck

    Clear your cache, cookies and the contents of your templates_c folder. It should then go away. I have seen this before but not been able to reproduce it. For me, I have seen it in FF and Safari.
  7. Eric Barnes Guest

    If anyone sees this again can you open includes/init.php and add this:
    print_r($_SESSION);

    Then refresh and view source and post the array here.
  8. bowers01 Genius At Work

    That is what happens with the magic quotes problem.
    If it happens again try and do a search and the showlistings will only show a viewlisting link.
    Nick
  9. b3d Customer

    Eric,

    Not sure if this is what you are looking for...

    Array ( [logged] => [uid] => 0 [username] => [cookie] => 0 [remember] => [userlevel] => 5 )


    Bob
  10. b3d Customer

    Why do we use magic quotes and is it safe / ok to disable it either system wise or htaccess?
  11. Eric Barnes Guest

    The session you posted looks correct. The userlevel of 5 means they are guest and should see everything the guest group has access to. For some hosts the magic quotes was causing it to have quotes like "5" which is not the number 5 to php.
  12. b3d Customer

    Eric,

    I have user group guests able to view basically everything. Also, after I login and back out again... so I am guest... I am able to view ad normally. I was thinking it is some kind of problem with me.. my computer/connection... but I noticed in thread that someone else has had this problem also?

    Thanks
    Bob
  13. Eric Barnes Guest

    Yes we have been having a few reports of it but I have not been able to duplicate it or recreate it. Which makes it very very hard to figure out why it is happening.
  14. b3d Customer

    I know what you mean. I have only noticed it on IE 8 but that is the what I'm looking at 99% of the time. I have an older pc right next to me so I when I see it happen I check on that one and it looks fine.

    So what does that say.. not much I guess. Next time it happens I will do more checking and report.
  15. b3d Customer

    This is still happening to me almost daily. Nothing shows in my error log so I have no way of knowing if visitors are also not able to view ads. I have tested firefox and safari and ads look ok. It only seems to happen in IE 8.

    Does anyone else have this problem?

    thanks
  16. Eric Barnes Guest

    Can you create a new php file (test.php) in your sites root and include this code for debugging:
    PHP:

    <?php
    require_once('includes/init.php');
    ?>
    <h1>Session Data</h1>
    <?php print_r($_SESSION); ?>
    <h1>Cookie Data</h1>
    <?php print_r($_COOKIE); ?>
    Then completely logout and try it in both browsers and see if you get the same data.
  17. b3d Customer

    IE8

    Session Data
    Array ( [logged] => [uid] => 0 [username] => [cookie] => 0 [remember] => [userlevel] => 5 )
    Cookie Data
    Array ( [sortlistings] => Array ( [sortfield] => dateadded ) [PHPSESSID] => f1defff399ee35a3946b6832606fdc34 [logintheme] => cpanel [cprelogin] => no [cpsession] => r47pMe1Yd3wtqyJbqlE9xRiFGDZmnkgUwFZ1iW9NO38tqYgj_1NpQ4Er_112kmjv )

    Firefox

    Session Data
    Array ( [logged] => [uid] => 0 [username] => [cookie] => 0 [remember] => [userlevel] => 5 )
    Cookie Data
    Array ( [sortlistings] => Array ( [sortfield] => dateadded ) )

    Safari

    Session Data
    Array ( [logged] => [uid] => 0 [username] => [cookie] => 0 [remember] => [userlevel] => 5 )
    Cookie Data

    Array ( [sortlistings] => Array ( [sortfield] => dateadded ) )


    Where is the cpanel stuff coming from?
  18. Lhotch curmudgeon

    My guess would be cpanel. Do you have any other tabs or windows open?
  19. b3d Customer

    Well I'm in and out of capnel all the time but it was not open and no other tabs or windows open at the time
  20. bowers01 Genius At Work

    i too am having the same problem, the magic quotes are off but it is the same as in the other thread.
    BD3 if you login and then logout of your website(client side) then does the problem go away?
    Nick

Share This Page