 | [Solved] Meta tag Hide mods problems |  |
Posted: 03/26/2007 9:18 PM |
|
|
|
|
|
| Citation |
| Posts |
1131 |
| Word Cnt. |
66,964 |
| BDay |
Jun 9 |
| Sign |
Gemini |
|
|
|
|
|
Joined: Mar 07, 2007
Local time: 3:24 PM
|

|
|
|
|
 |
I've just tried to install the Meta tag 102 mod.
It's all in place but I have 1 error
| Quote:
|
Critical Error
FIND FAILED: In file [includes/functions.php] could not find:
}
if ( empty($template) )
MOD script line #177
|
I've also uploaded the Hide mod bit easy mod is not picking it up for some reason. |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Meta tag Hide mods problems |  |
Posted: 03/26/2007 10:23 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 12:24 AM
Location: St Pete, FL
|

|
|
|
|
 |
Yep, this identical flaw shows up in a lot of MODs. This part of the code evolved in one of the phpBB Updates since this MOD was released. There is only one character in this FIND that causes this command to fail, the ending parenthesis:
Ok, try this:
OPEN
Meta Tags +.txt
FIND
| Code:
|
#
#-----[ FIND ]------------------------------------------------
#
}
if ( empty($template) )
|
REPLACE WITH
| Code:
|
#
#-----[ FIND ]------------------------------------------------
#
}
if ( empty($template)
|
Save, upload, and try again using EM...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Meta tag Hide mods problems |  |
Posted: 03/26/2007 10:26 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 12:24 AM
Location: St Pete, FL
|

|
|
|
|
 |
The reason why the Hide MOD would not appear in the Unprocessed list is because the MOD script was stored in a sub-folder of the MOD folder, not in the root. I moved the MOD script up to the root of the hide_bbcode_1.3.0 folder, so it should be showing in EM's Unprocessed list now...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Meta tag Hide mods problems |  |
Posted: 03/26/2007 11:00 PM |
|
|
|
|
|
| Citation |
| Posts |
1131 |
| Word Cnt. |
66,964 |
| BDay |
Jun 9 |
| Sign |
Gemini |
|
|
|
|
|
Joined: Mar 07, 2007
Local time: 3:24 PM
|

|
|
|
|
 |
Yeee Haaa I done something
nearly by myself
But I can't find the control panel for mets tags  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Meta tag Hide mods problems |  |
Posted: 03/26/2007 11:15 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 12:24 AM
Location: St Pete, FL
|

|
|
|
|
 |
It looks like the MOD author failed to include a COPY section to upload the included files to your server. So you will have to manually move those included files in place yourself or you can Restore the EM Backups, then add the folllowing to the MOD script and install it again. You can add this section just before the SQL queries...
| Code:
|
#
#-----[ COPY ]------------------------------------------
#
copy root/admin/admin_meta_tags.php to admin/admin_meta_tags.php
copy root/includes/lang_extend_mac.php to includes/lang_extend_mac.php
copy root/language/lang_english/lang_extend_meta_tags.php to language/lang_english/lang_extend_meta_tags.php
copy root/templates/subSilver/admin/meta_tags_body.tpl to templates/subSilver/admin/meta_tags_body.tpl
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Meta tag Hide mods problems |  |
Posted: 03/26/2007 11:43 PM |
|
|
|
|
|
| Citation |
| Posts |
1131 |
| Word Cnt. |
66,964 |
| BDay |
Jun 9 |
| Sign |
Gemini |
|
|
|
|
|
Joined: Mar 07, 2007
Local time: 3:24 PM
|

|
|
|
|
 |
| Ok I'll use restore back ups, where would I put that code ? |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Meta tag Hide mods problems |  |
Posted: 03/26/2007 11:46 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 12:24 AM
Location: St Pete, FL
|

|
|
|
|
 |
Just put it above the following:
| Code:
|
#
#-----[ SQL ]------------------------------------------
#
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Meta tag Hide mods problems |  |
Posted: 03/27/2007 12:07 AM |
|
|
|
|
|
| Citation |
| Posts |
1131 |
| Word Cnt. |
66,964 |
| BDay |
Jun 9 |
| Sign |
Gemini |
|
|
|
|
|
Joined: Mar 07, 2007
Local time: 3:24 PM
|

|
|
|
|
 |
I'm rounding 3rd base NR, but I got this as I was running for home
| Quote:
|
SQL PROCESSING HALTED
An error was encountered while processing the SQL commands. Further SQL processing has been halted. You may choose to complete the MOD installation anyway and perform the SQL commands manually yourself. However, at this point EM cannot guarantee the MOD will work correctly so you are best off seeking support from the Author before continuing further.
The failed line was:
INSERT INTO phpbb_config(config_name,config_value) VALUES('meta_keywords','');;
SQL ERROR: 1062
Duplicate entry 'meta_keywords' for key 1
|
|
|
|
 |
 |
| Back to Top |
|
|
 | Re: Meta tag Hide mods problems |  |
Posted: 03/27/2007 10:29 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 12:24 AM
Location: St Pete, FL
|

|
|
|
|
 |
Yes, all this is telling you is that you have already successfully run the SQL queries for this MOD. In SQL, you cannot create duplicate tables, fields (columns), or keyed records no matter how many times you try. So since the SQL queries were completed once before, you would expect to see an error like this when trying to do it again. You can safely ignore the duplicate entry and this SQL Processing error and complete the MOD install using EM...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Meta tag Hide mods problems |  |
Posted: 03/27/2007 6:41 PM |
|
|
|
|
|
| Citation |
| Posts |
1131 |
| Word Cnt. |
66,964 |
| BDay |
Jun 9 |
| Sign |
Gemini |
|
|
|
|
|
Joined: Mar 07, 2007
Local time: 3:24 PM
|

|
|
|
|
 |
I've done it now I have to figure out how to use it, I have some reading to do methinks
I've the birthday one in but I'm having the same problem as did I with hide, esymod doesn't see it. |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|