Go Back   Pligg CMS Forum > Pligg Development > Pligg Modules > Module Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-29-2008, 05:32 PM
Casual Pligger
 
Join Date: Jul 2008
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
mp3submit error

I have installed "mp3submit" module but getting the following error while submiting the link in step1.

could not open //libs/lang.conf

Please help me to fix this problem.

Thanks,
SL
Reply With Quote
  #2 (permalink)  
Old 08-29-2008, 08:08 PM
chuckroast's Avatar
Coder/Designer
Pligg Version: 1.0
Pligg Template: ExpertVision
 
Join Date: Jun 2006
Location: PA
Posts: 2,399
Thanks: 171
Thanked 439 Times in 278 Posts

Hi slick33
//libs/lang.conf was something we used in previous versions of Pligg. The module you are using was made for an earlier version of Pligg. What you could do to fix your problem is dissect the module where it's calling /libs/lang.conf and change it to /languages/lang_english.conf

Also, I moved this thread to the module support forum.

Hope that helps
__________________
Visit PliggPro the official Pligg Mods & Template Shop!

Reply With Quote
  #3 (permalink)  
Old 08-29-2008, 09:47 PM
Casual Pligger
 
Join Date: Jul 2008
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
I couldn't find //libs/lang.conf in "mp3submit" module.
Reply With Quote
  #4 (permalink)  
Old 08-29-2008, 10:27 PM
chuckroast's Avatar
Coder/Designer
Pligg Version: 1.0
Pligg Template: ExpertVision
 
Join Date: Jun 2006
Location: PA
Posts: 2,399
Thanks: 171
Thanked 439 Times in 278 Posts
In the folder called /files to replace/templates/yget/submit_step_2.tpl directly at the top is says
{config_load file="/libs/lang.conf"}
__________________
Visit PliggPro the official Pligg Mods & Template Shop!

Reply With Quote
  #5 (permalink)  
Old 08-30-2008, 11:17 AM
Casual Pligger
 
Join Date: Jul 2008
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
I modified submit_step2.tpl and it works fine but now getting the following error(s) at Step3 of 3

Warning: Missing argument 2 for check_actions(), called in /home/content/r/e/a/test/html/templates_c/c_a055cc33187dd5d0e5f086983b55c7a0.php on line 100 and defined in /home/content/r/e/a/test/html/modules/modules_libs.php on line 87

Note: using czNet Template

---------------------------------------------------------------------------------------------
Warning: Missing argument 2 for check_actions(), called in /home/content/r/e/a/test/html/class.template.php(745) : eval()'d code on line 100 and defined in /home/content/r/e/a/test/html/modules/modules_libs.php on line 87

Note: using yget Template

---------------------------------------------------------------------------------------------
I did look at the c_a055cc33187dd5d0e5f086983b55c7a0.php on line 100 under templates_c directory and here is the line of code.

$linkres->read(FALSE);
---------------------------------------------------------------------------------------------
I did look at the modules_libs.php on line 87 but i don't know what's wrong in it, here is the function check_actions()

function check_actions($location, &$vars)
{
global $module_actions;
$vars['location'] = $location;
if($module_actions){
foreach ( $module_actions as $k => $v ) {
if($k == $location){
foreach ( $v as $kk => $vv ) {
call_user_func_array($kk, array(&$vars));
}

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


Please help

Thank you,
SL

Last edited by slick33; 08-30-2008 at 11:58 AM..
Reply With Quote
  #6 (permalink)  
Old 08-30-2008, 11:57 AM
DAX DAX is offline
New Pligger
 
Join Date: Feb 2007
Posts: 8
Thanks: 8
Thanked 2 Times in 1 Post
Did you try deleting all the files in templates_c ?
Reply With Quote
  #7 (permalink)  
Old 08-30-2008, 12:17 PM
Casual Pligger
 
Join Date: Jul 2008
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Yes, I did still no luck. Successfully uploaded mp3 to the server and playing uploaded songs but generating the following error at Step3 of 3.

Warning: Missing argument 2 for check_actions(), called in /home/content/r/e/a/test/html/class.template.php(745) : eval()'d code on line 100 and defined in /home/content/r/e/a/test/html/modules/modules_libs.php on line 87
Reply With Quote
  #8 (permalink)  
Old 09-05-2008, 06:31 PM
Casual Pligger
 
Join Date: Jul 2008
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Any one here help me to fix this error. I have posted here for a week and no response yet.

Thanks,
SL
Reply With Quote
  #9 (permalink)  
Old 09-06-2008, 12:23 AM
Casual Pligger
Pligg Version: 9.8
Pligg Template: yellow
 
Join Date: Dec 2007
Posts: 40
Thanks: 0
Thanked 1 Time in 1 Post
if you are working on latest pligg version above pligg 9.8.2 then all you have to do is remove {config load = libs/lang.conf } in submit_step2.tpl and submit_step3.tpl in templates/yget folder
Reply With Quote
  #10 (permalink)  
Old 11-23-2008, 08:56 AM
New Pligger
Pligg Version: 9.9.5
 
Join Date: Nov 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Here's what I did to fix it:

create a file in your libs directory called "lang.conf"

In that file, paste the following:

<?php
include_once ('./languages/lang_english.conf');
?>


That should make it reverse compatible, but I still found some incompatibilities in the templates. This gave me about 95% compatibility with 9.5. Enough to change the template back, anyway.
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Installing Modules Netlink Installation and Upgrade Help 2 12-24-2007 10:26 PM
Internal server error pligger2 General Help 1 10-19-2007 05:11 AM
Pligg 9.5 Beta: 500 Internal Server Error!!!! Genghis Bug Report 0 05-02-2007 03:10 AM
Got This Parse Error on c_ file on line 141 endph General Help 0 02-14-2007 06:44 PM
error when upgrade to 226 mhpligg Installation and Upgrade Help 2 09-12-2006 03:40 AM


Search Engine Friendly URLs by vBSEO 3.2.0