Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
- nestormateo responded to »Fillters in Clip« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Need help with new pnForum theme
-
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
Wendell
craigh
Warning: Smarty error: pnimg: attribute src required in /home/soundwe/PostNuke-0.762/html/includes/classes/Smarty/Smarty.class.php on line 1088
I'm afraid I can't help on that one. :(
here's a bit more information from the source:
Code
<span class="post-rank">site admin<br />
<br />
<b>Warning</b>: Smarty error: pnimg: attribute src required in <b>/home/soundwe/PostNuke-0.762/html/includes/classes/Smarty/Smarty.class.php</b> on line <b>1088</b><br />
<!--<img src="[ $post.poster_data.rank_image ]" alt="[ $post.poster_data.rank ]" [ $post.poster_data.rank_image_image_attr.3 ] />-->
</span>
so, the issue is with ranks, not avatars. As I said, this is probably my fault, but I'm having trouble tracking this issue down. I think Smarty is getting a null value for the src argument. would you have any ideas why? -
**unknown user**
- Rank: Expert
- Registered: Mar 16, 2002
- Last visit: Apr 02, 2010
- Posts: 1208
Did you get that error with the default pnForum theme? You might want to check to make sure the ranks images are actually there. I'm just pulling out random ideas, but it's worth a shot. ;) -
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
If I switch the whole site to ExtraLite, the problem goes away... hmmmm. -
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
OK - In pnforum_user_viewtopic.html, I changed:
to:Code
<!--[pnimg src=$post.poster_data.rank_image_name alt=$post.poster_data.rank]-->Code
<!--[pnimg src=$post.poster_data.rank_image alt=$post.poster_data.rank]-->
and now my error is:
Code
Warning: Smarty error: pnimg: image modules/pnForum/pnimages/ranks/twostars.gif not found in /home/soundwe/PostNuke-0.762/html/includes/classes/Smarty/Smarty.class.php on line 1088
which is VERY odd, because if you go to that path:
http://www.soundwebd…/ranks/twostars.gif
the image is most definately THERE...
so? :? -
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
-
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
so, I changed it to this:Code
<img src="<!--[ $post.poster_data.rank_image ]-->" alt="<!--[ $post.poster_data.rank ]-->" <!--[ $post.poster_data.rank_image_image_attr.3 ]--> />
which works, but isn't quite as elegant ans pnimg -
**unknown user**
- Rank: Expert
- Registered: Mar 16, 2002
- Last visit: Apr 02, 2010
- Posts: 1208
Yep, I tried everything I could think of without referencing your post (to see if we came to the same conclusion) and came up with the same code as you. That's the only thing I could get to work. The bug is fixed as far as I'm concerned! :)
Tests show that email is going thru, but I did send a couple to you from inside the MailUsers and Mailer modules in hopes that you receive them. -
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 822
Hi:
Nice. One question tou, are these themes ready for pnForum 2.7? Also, I have a question about the pnjavascript dir (pnForum 2.7).
I know Ajax folder goes into ---> /html/javascript/
But what about the other files at pnjavascript ?? Those remains in modules/pnForum/pnjavascript???
I am having problem with the Admin Console, forum reorder. Unless it is related with my setup (PHP 5.1.2)... I am using latest cvs.
Anyone with an answer please PM me to not change the thread focus.
Sorry, but I think someone here could help me clarify the problem.
- Moderated by:
- Support
Users on-line
- 0 users
This list is based on users active over the last 60 minutes.
