easy mod for lycos

Having problems installing EM? Let's fix that

Moderators: Moderators, MOD Team

Forum rules
DO NOT give out any FTP passwords to anyone! There is no reason to do so! If you need help badly enough, create a temporary FTP account that is restricted to only the files that you need help with and give the information for that. Giving out FTP information can be very dangerous!

easy mod for lycos

Postby zottebelg » Tue Nov 07, 2006 4:17 pm

i found out that you need an specific version of easymod for lycos
where can i get that?

thnx in advance Cool
zottebelg
Registered User
 
Posts: 6
Joined: Tue Nov 07, 2006 4:10 pm

Re: easy mod for lycos

Postby Nightrider » Tue Nov 07, 2006 4:39 pm

You can use this Awardspace version that I created. It works for Lycos sites too...

Awardspace Instructions w/Download

You can download this EM version that I have modified to work on Awardspace sites. The file can be found in the downloads/phpBB/EasyMod section at the top of the page. Make sure that all uploaded file permissions are set to 755:

easymod_awardspace.zip

Here are the instructions for modifying your EM installation files if you choose to do it yourself rather than use the modified EM version that I supplied above:

Awardspace Modifications

Your board requires script file permissions to be set to 755 instead of 644 like most other boards. So even if EM installs correctly, the EM file permissions would be set to 644...

Unfortunately for sites like your's, EM sets the file permissions to 644 when it modifies them. So go into the following files to set all matches of 0644 to 0755 before you install EM:

  1. easymod/em_includes/em_modio.php
  2. easymod/em_includes/em_ftp.php

Also, modify the check_file_scope function in your easymod/includes/admin_easymod.php.txt file by copying and pasting the code:

OPEN
easymod/includes/admin_easymod.php.txt

FIND
Code: Select all
if( !@file_exists(phpbb_realpath($filename)) || !strstr(phpbb_realpath($filename), phpbb_realpath($expected_scope)) )

REPLACE WITH
Code: Select all
//if( !@file_exists(phpbb_realpath($filename)) || !strstr(phpbb_realpath($filename), phpbb_realpath($expected_scope)) )
   if( !@file_exists(phpbb_realpath($filename)) )

The check_file_scope function should now look like this:

Code: Select all
function check_file_scope($filename, $expected_scope, $simply_die = false)
{
   global $db, $lang;

   // make sure a file is located somewhere inside the specified directory
   //if( !@file_exists(phpbb_realpath($filename)) || !strstr(phpbb_realpath($filename), phpbb_realpath($expected_scope)) )
   if( !@file_exists(phpbb_realpath($filename)) )
   {
      $message = sprintf($lang['EM_modio_open_read'], $filename);
      if( $simply_die )
      {
         $db->sql_close();
         die($message);
      }
      message_die(GENERAL_ERROR, $message);
   }
}

Save all the modified files and upload them to their proper sub-folders in the admin/mods/easymod folder. Then go ahead and try the EM install again...

Image
User avatar
Nightrider
Registered User
 
Posts: 7219
Joined: Tue Nov 16, 2004 8:54 pm
Location: Florida, US

Re: easy mod for lycos

Postby zottebelg » Tue Nov 07, 2006 4:46 pm

great job Surprised , i can test it tonight , i will tell if it works:)
zottebelg
Registered User
 
Posts: 6
Joined: Tue Nov 07, 2006 4:10 pm

Re: easy mod for lycos

Postby Nightrider » Tue Nov 07, 2006 5:00 pm

Good Luck zottebelg!!!

Image
User avatar
Nightrider
Registered User
 
Posts: 7219
Joined: Tue Nov 16, 2004 8:54 pm
Location: Florida, US

Re: easy mod for lycos

Postby zottebelg » Tue Nov 07, 2006 6:45 pm

oke , i reinstalled it , finely i can install the mods
but the mod isnt working!!!
its a mod for merging post (downloaded phpbb.com)
and now i get this error when i try to post a topic:

Code: Select all
Could not obtain last post information

DEBUG MODE

SQL Error : 1054 Unknown column 'post_created' in 'field list'

SELECT post_id, poster_id, post_created FROM phpbb_posts WHERE topic_id = 11 ORDER BY post_time DESC LIMIT 1

Line : 564
File : posting.php
zottebelg
Registered User
 
Posts: 6
Joined: Tue Nov 07, 2006 4:10 pm

Re: easy mod for lycos

Postby zottebelg » Tue Nov 07, 2006 6:48 pm

en when i try to open an new trhead i get this error
Code: Select all

Error in posting

DEBUG MODE

SQL Error : 1054 Unknown column 'post_created' in 'field list'

INSERT INTO phpbb_posts (topic_id, forum_id, poster_id, post_username, post_time, post_created, poster_ip, enable_bbcode, enable_html, enable_smilies, enable_sig) VALUES (13, 1, 2, '', 1162925238, 1162925238, '51f31fee', 1, 0, 1, 0)

Line : 335
File : functions_post.php
zottebelg
Registered User
 
Posts: 6
Joined: Tue Nov 07, 2006 4:10 pm

Re: easy mod for lycos

Postby Nightrider » Tue Nov 07, 2006 7:18 pm

Do you have a link to the MOD topic and download???

I imagine that the MOD author included a DB Update file that needs to be uploaded to your phpBB folder and run from your browser. They typically include the instructions in the Author's Notes, a DIY INSTRUCTIONS section, or in a Readme.txt file. So review the MOD script and try to see what the MOD author suggests. If you need help figuring it out, I will need to see a copy of the MOD...

Image
User avatar
Nightrider
Registered User
 
Posts: 7219
Joined: Tue Nov 16, 2004 8:54 pm
Location: Florida, US

Re: easy mod for lycos

Postby zottebelg » Tue Nov 07, 2006 7:44 pm

http://www.phpbb.com/phpBB/viewtopic.php?t=276544

there is the download , tomorrow i will look at the files
zottebelg
Registered User
 
Posts: 6
Joined: Tue Nov 07, 2006 4:10 pm

Re: easy mod for lycos

Postby Nightrider » Tue Nov 07, 2006 10:45 pm

Ok, it looks like you ignored the SQL Processing error caused by the AFTER post_time command in the ALTER TABLE query. So EM probably successfully ran the first two INSERT INTO queries but not the last two SQL queries...

The MOD author did include a DB Update file that you can upload to your phpBB folder root and run from your browser. Here is what the MOD author stated in the Author's notes section:

Author Notes:

Put "advanced_posts_merging_db_ins.php" into your phpBB root directory and run it after mod installation, then delete it. Don't forget to configure mod after installation, feature is disabled by default.

The path for the db update file in your browser could look something like this:

Code: Select all
http://yourdomain.com/phpBB2/advanced_posts_merging_db_ins.php

You should get in the habit of reading the Author's notes before installing all future MODs. That could prevent problems like this...

Image
User avatar
Nightrider
Registered User
 
Posts: 7219
Joined: Tue Nov 16, 2004 8:54 pm
Location: Florida, US


Return to Installing EasyMOD

Who is online

Users browsing this forum: MSNbot Media, Yahoo Slurp and 4 guests