Jeff Posted December 12, 2011 Report Posted December 12, 2011 You can possibly see how the "You Have Mail" image shows when using the AirMail module, and integrate it in the news module. Quote
Tylor Eddy Posted December 14, 2011 Report Posted December 14, 2011 You can possibly see how the "You Have Mail" image shows when using the AirMail module, and integrate it in the news module. I never thought about that, ill have a look and see if i can get it to work Thanks Quote
avdesigns Posted January 16, 2012 Report Posted January 16, 2012 Do I have to put popup news by simpilot on the module as Im going to be making a thanks to... page? Quote
Administrators simpilot Posted January 18, 2012 Author Administrators Report Posted January 18, 2012 Do I have to put popup news by simpilot on the module as Im going to be making a thanks to... page? Thats Cool - Any attribution would be appreciated. Quote
volkerjacob Posted March 8, 2012 Report Posted March 8, 2012 Hello, i try this module, but i get the following output on my website : Fatal error: Call to undefined method PopUpNews::get_news_list() in /home/VACG/core/modules/PopUpNews/PopUpNews.php on line 24 Quote
Administrators simpilot Posted March 8, 2012 Author Administrators Report Posted March 8, 2012 I just updated the code on Github to correct that problem. Quote
loplo Posted December 2, 2012 Report Posted December 2, 2012 I've downloaded the module from github, but when accessing index.php/PopUpNews/ I'm getting the following error: Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'PopUpNews::index' was given in /home/****/public_html/rot/core/classes/MainController.class.php on line 218 Any workaround? Quote
Administrators simpilot Posted December 6, 2012 Author Administrators Report Posted December 6, 2012 I've downloaded the module from github, but when accessing index.php/PopUpNews/ I'm getting the following error: Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'PopUpNews::index' was given in /home/****/public_html/rot/core/classes/MainController.class.php on line 218 Any workaround? What code are you using to call the module in your template? Quote
loplo Posted December 6, 2012 Report Posted December 6, 2012 On the frontpage it is called with: <?php PopUpNews::PopUpNewsList(5); ?> While clicking on the link (title), I'm being sent to index.php/PopUpNews/popupnewsitem/2 or other number. I thought that if I'm trying to access index.php/PopUpNews/ I'll land on a page where all the news items are shown. But it seems that this is not possbile. Quote
joeholden Posted April 28, 2013 Report Posted April 28, 2013 Hello, I have this error showing up just recently on the PopUpNews module. Strict Standards: Non-static method PopUpNews::PopUpNewsList() should not be called statically, assuming $this from incompatible context in/home/xlavacou/public_html/en/lib/skins/XL VA/frontpage_main.tpl on line 73 Strict Standards: Non-static method PopUpNewsData::get_news_list() should not be called statically, assuming $this from incompatible context in/home/xlavacou/public_html/en/core/modules/PopUpNews/PopUpNews.phpon line 24 Any help would be appreciated! Cheers Quote
mattsmith Posted October 6, 2013 Report Posted October 6, 2013 I get this problem?? Notice: The template file "/home/a1354468/public_html//lib/skins/bluecorporation/popupnews/popupnews_list.tpl" doesn't exist in/home/a1354468/public_html/core/classes/TemplateSet.class.phpon line 248 Quote
Administrators simpilot Posted October 6, 2013 Author Administrators Report Posted October 6, 2013 If you are positive that the module is installed correctly then you have probably downloaded the latest version of the module which uses the template extension of .php instead of .tpl as the latest development version of phpVMS is using. You can find the last release of the old style templates under the releases tab at github. I would also suggest using the PluginManager as it will download the correct version according to your system and also install it all automatically. You can find it here -> https://github.com/DavidJClark/phpVMS-Plugins_Manager Quote
YusufBudi Posted November 3, 2013 Report Posted November 3, 2013 G'day Simpilot, I recieve the message below on my site, Latest News Notice: The template file "/home/qantasvi/public_html//core/templates/popupnews_list.tpl" doesn't exist in /home/qantasvi/public_html/core/classes/TemplateSet.class.php on line 248 PopUpNews © simpilotgroup.com this can be viewed on my site: http://qantasvirtual.com/ Looks like you did not put the popupnews_list.tpl file in your core/templates or skin folder. hello i am totally new to phpvms and its script....learning by doing now.. i had the same problem on the first quote, the answer obviously pretty clear on the second quote..but, where i can get the popupnews_list.tpl file? do i have to create it myself? if so, can anybody show me how? Quote
JRock39 Posted November 4, 2013 Report Posted November 4, 2013 Do you have an older version of the popupnews? I've tried installing the one on the github to the admin plugin manager and when I call it on a page, it gives me the can't find .tpl error. I've looked on github and there aren't any that have the .tpl in them. Thanks. Quote
McWilliams Posted December 2, 2013 Report Posted December 2, 2013 I just changed the template files that end with .php back to .tpl and it worked fine. Quote
poole3003 Posted May 18, 2014 Report Posted May 18, 2014 i am getting this error Notice: The template file "/home/flyetiha/public_html//lib/skins/Sim Widget/popupnews/popupnews_list.tpl" doesn't exist in /home/flyetiha/public_html/core/classes/TemplateSet.class.php on line 226 any ideas all files installed into the right place Quote
Administrators simpilot Posted May 19, 2014 Author Administrators Report Posted May 19, 2014 Try this, http://forum.phpvms.net/topic/18860-i-have-a-xxxxxxtpl-file-not-found-error/ Quote
Mervyn Posted June 20, 2014 Report Posted June 20, 2014 i install it manually and this is what i get/? Fatal error: Class 'PopUpNews' not found in /customers/1/e/8/emiratesva.com/httpd.www/core/pages/welcome.htm on line 83 Quote
cole Posted August 2, 2014 Report Posted August 2, 2014 Hi! I have a problem with the installation of the module. After installing jumped this message: Notice: The template file "/virtual/regionalairlines.cba.pl//core/templates/popupnews/popupnews_list.tpl" doesn't exist in /virtual/regionalairlines.cba.pl/core/classes/TemplateSet.class.php on line 248 What to do?, Regards Quote
Digi Posted September 23, 2014 Report Posted September 23, 2014 HI I have a problem install the popupmenu, it shows: Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'PopUpNews' does not have a method 'index' in /home/dragaorg/public_html/core/classes/MainController.class.php on line 218 please advise Quote
Moderators servetas Posted September 23, 2014 Moderators Report Posted September 23, 2014 PopUpNewsModule just creates a list whenever you place it. You can use this: <?php PopUpNews::PopUpNewsList(5); ?> It can't be accessed via your website url/index.php/PopUpNews url. Quote
Ariel Posted October 16, 2014 Report Posted October 16, 2014 Well i saw some one got this error but no one answered it... Now im getting this error on a fresh install of phpvms.. assuming i was using the new version of PopUpNews not compatible with my phpvms i changed it to 2.1 popupnews and im getting this Strict Standards: Non-static method PopUpNews::PopUpNewsList() should not be called statically, assuming $this from incompatible context in /home3/vdelta/public_html/lib/.../frontpage_main.tpl on line 231 Strict Standards: Non-static method PopUpNewsData::get_news_list() should not be called statically, assuming $this from incompatible context in /home3/vdelta/public_html/core/modules/PopUpNews/PopUpNews.php on line 31 Ive never had problems with this before so i dont quite understand what went wrong... or where it went wrong Any help anyone? Much appreciated! Quote
jetskit Posted December 29, 2014 Report Posted December 29, 2014 so, i installed it, i followed the instructions, but its only showing up a blank box - Im pretty new to all this so if someone could help me out i would really appreciate it! Quote
TAV1702 Posted January 5, 2015 Report Posted January 5, 2015 I got a little something odd happening. When someone posts news and it has an ' in it, it adds a bunch of \ like the example below: Cincinatti Holiday Returns - Now that Christmas is over and you have a pile of \\\\\\\\\\\\\\\"Pesky Unwanted\\\\\\\\\\\\\\\" Flightplans that resemble that horribly ugly Christmas Sweater and Aunt Lucille knit you seven years ago you find yourself in need of a place to return them. We can help. Any flightplans that you received this year that you don\\\\\\\\\\\\\\\'t want can be returned to our returns center on the 3rd of January, 2015 between 21:00z and 01:00z [4pm~8pm EST]. We\\\\\\\\\\\\\\\'ll be staffed up to the 9s to make sure your returns process is easy and painless so that you can get back underway with just the right flightplans that you always wanted. For further Return Policy terms and conditions, please see one of our friendly controllers. Thank you! ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Any way to make this so it don't add all those back slashes? I know it needs to escape stuff just because, but that makes the news look bad real quick. Thanks for taking a look! Ray P.S. I just noticed that it is happening in Events module as well. php5 issue? Can't use images or anything anymore. all those backslashes mess up all the code. Quote
Administrators simpilot Posted January 11, 2015 Author Administrators Report Posted January 11, 2015 I would guess it is a php 5.5+ issue although I have not seen it before. Have you tried reverting to an older php version and see if you still get this behavior? Quote
TAV1702 Posted January 19, 2015 Report Posted January 19, 2015 Nah have not reverted to an older version of php yet and I researched it and that is the issue. I have saw sever posts on other sites that say it has something to do with magic quotes or something like that. And I did some digging and it is other modules as well. I might just try reverting back to a little older php version just to check things out. **EDIT** This magic_quotes_gpc is most of the problem. I heard it is going away in php 6.0. As we sit now this setting renders phpVMS news and anything else that uses code useless. We need to strip slashes back out before it is printed on the site. Good times! :-) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.