1
HAKHAK
Login session fail
  • 2011/6/17 13:55

  • HAKHAK

  • Just popping in

  • Posts: 7

  • Since: 2010/12/12


Hi everyone,

I'm still a noob in those PHP/SQL/CSS stuffs and since we worked on anew theme we have a big problem in our Xoops community portal:

Everytime a member try to log in, he's getting a blank screen when i put the debug mode on they getting this msg:

Quote:

Fatal error: Call to a member function mid() on a non-object in /home/marocpho/public_html/modules/xnews/include/functions.php on line 501


I'll be very grateful if someone can hep me fix this out, thank you somuch in advance.


Url: www.maroc-photo.net
Xoops version: 2.5.1
PHP version: 5.2.17
MySQL version: 5.0.91-community-cll

Modules Installed:

- CBB 3.08
- xNews 1.71
- AMS
- Adslight 1.06



2
HAKHAK
Re: Big problem with blocks.
  • 2010/12/16 22:49

  • HAKHAK

  • Just popping in

  • Posts: 7

  • Since: 2010/12/12


seems to not work, thank you for helping btw.

I fixed it other way, i saved the database and installed everything again and imported the database again and everything seems to be fine now.

thx guys



3
HAKHAK
Re: Big problem with blocks.
  • 2010/12/14 15:34

  • HAKHAK

  • Just popping in

  • Posts: 7

  • Since: 2010/12/12


I tried, the problems seems to be with the session or something i dont master that CMS yet.



4
HAKHAK
Re: Big problem with blocks.
  • 2010/12/14 13:41

  • HAKHAK

  • Just popping in

  • Posts: 7

  • Since: 2010/12/12


Hi,

I don't know where to empty cache and clear session in the xoops admin panel..

Also, it seems that the problem of seing blocks appears only when ppl log on, when they are not logged with theur account everything seems to be okay.



5
HAKHAK
Re: Big problem with blocks.
  • 2010/12/12 18:20

  • HAKHAK

  • Just popping in

  • Posts: 7

  • Since: 2010/12/12


When i switch back to the default theme i have exactly the same problem :s



6
HAKHAK
Re: Big problem with blocks.
  • 2010/12/12 18:13

  • HAKHAK

  • Just popping in

  • Posts: 7

  • Since: 2010/12/12


While activating the debug mode i got one error:

Erreur(s)
Avertissement(s): Smarty errorunable to read resource"maitscocorporate/xo_footerstatic.html" dans le fichier /class/smarty/Smarty.class.php ligne 1093



7
HAKHAK
Big problem with blocks.
  • 2010/12/12 17:08

  • HAKHAK

  • Just popping in

  • Posts: 7

  • Since: 2010/12/12


Hi everyone,

here are the version I use:

Version Xoops 2.4.5
Version Apache 2.2.16
Version PHP 5.2.14
Version MySQL 5.0.91-community
Architecture i686

Modules:

News (for news) 1,66
AMS(for tutorials) 3
Newbb (board) 3,08

Theme used from start : Maitsocorporate (images and color midified in the css theme file)

URL: www.maroc-photo.net

------------------------------------------
------------------------------------------


Problem description:

The portal was going just great for more than a month after the first installation.

And then a huge problem started 3 days ago:

All blocks disappeared !! I don't know how, i didnt touch anything else in the admin pannel, when we try to displat the website from the url we can see only the the header and the footer. When we try clickin on a module via the header menu we see for example the board on newbb without anyone of the blocks on the left side we setted up before and when we try to click on a forum the error msg appears:

SELECT t.*, p.post_time as last_post_timep.poster_name as last_poster_namep.iconp.post_idp.uidp.post_karmap.require_replypt.post_text FROM mp1x_bb_topics t LEFT JOIN mp1x_bb_posts p ON p.post_id t.topic_last_post_id LEFT JOIN mp1x_bb_posts_text pt ON pt.post_id t.topic_last_post_id WHERE (p.post_time 1283533531 OR t.topic_sticky=1) AND t.forum_id 37 AND t.approved AND p.approved 1 ORDER BY t.topic_sticky DESCp.post_time DESC


When i go to the admin pannel on the blocks section i see every single block is like deleted, system blocks, modules blocks or personal blocks.. That's frustrating :s i really dont know how to manage to solve this.

I'll be very gratefull if any of you guys can help me, it froze the whole community :(

Thank you in advance.





TopTop



Login

Who's Online

196 user(s) are online (129 user(s) are browsing Support Forums)


Members: 0


Guests: 196


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits