News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Please need help. urgent

Started by FAQ, November 11, 2011, 09:49:57 AM

Previous topic - Next topic

FAQ

our version 2.0.1
theme  Anecdota

we are seeing this error on top of pages // MOD Ban Link in Post $txt['ban_user_via_post'] = 'You last visited:';

and we can't install or uninstall packages all saying failed to Execute Modification    
./Themes/default/languages/Modifications.english.php .

we haven't back up and we are not coders
here our url.

centsia.com forum index.php

please help us  :(
One and only little forum angel
[nofollow]

Illori

check your modifications.english.php and make sure there are no extra ?> in the file, there should only be one at the very bottom of the file.

meetdilip

@ FAQ

You can get a virtual version of SMF on your PC using WAMP. It will be wise to try mods on this installation before trying on live forum. Not an advice, but always take a backup before attempting any modification. At times, things can get worser. Learned the hard way.

morpheuslogged

#3
Quote from: Illori on November 11, 2011, 09:59:32 AM
check your modifications.english.php and make sure there are no extra ?> in the file, there should only be one at the very bottom of the file.
First of all Thanks for the help Illori,
I'm from Faq's forum there is no extra ?> in this file modifications.english.php.I dpunle checked it,I think problem is not with that.We had a backup of sql database so we decided to test problem is with the database or with the php files,So we created another directory and installed SMF and restored our sql database but problem still Appears..Please help Us...
Original Forum:centsia.com/forum
Testing Forum:centsia.com/test (Which is newly created)...
Waiting for your valuable reply.....

Illori

please attach your modifications.english.php file to your next post.

Illori

pming someone for support is a great way to get ignored, if you know the rules follow them if you want help.

now i will not help you.

morpheuslogged

Quote from: Illori on November 11, 2011, 10:37:10 AM
please attach your modifications.english.php file to your next post.
Here is the code

<?php
// Version: 2.0; Modifications


//   Are You Human?
$txt['are_you_human_q1'] = 'Are You Human?';
$txt['are_you_human_q2'] = 'Are You Bot?';
$txt['are_you_human_desc'] = 'Another Anti-Bot Measure';
$txt['are_you_human_answers'][0] = 'Yes';
$txt['are_you_human_answers'][1] = 'No';
$txt['are_you_human_answers'][2] = 'I don\'t know';
$txt['are_you_human_answers'][3] = 'Maybe';
$txt['are_you_human_answers'][4] = 'I think...';
$txt['are_you_human_answers'][5] = 'Waits';
$txt['are_you_human_answers'][6] = 'Hmm';          // You can add more Answers for confused the bots

$txt['are_you_human_expired'] = 'This page has expired. Please restart the <a href="' . $scripturl . '?action=register;">registration page</a>.';
$txt['are_you_human_fail'] = 'Please confirm that you are human in order to proceed with registration.<br />
Bots are not allowed to register.';

$txt['are_you_human_s'] = 'Enable MOD Are You Human';
$txt['are_you_human_q'] = 'Select the Question';
$txt['are_you_human_a'] = 'Order Rand the Answers';
$txt['are_you_human_q_0'] = 'Are You Human?';
$txt['are_you_human_q_1'] = 'Are You Bot?';
$txt['are_you_human_q_2'] = 'Random Question';
// Double Post stopper strings
$txt['double_post_attempt'] = 'Sorry, but you are not allowed to double post. Please go back and edit your previous post.';
$txt['permissionname_doublePost'] = 'Allow them to Double post';
$txt['permissionhelp_doublePost'] = 'By Enabling this You will allow them to double post.';
$txt['doublePostAdmin_main'] = 'Time before the user is not allowed to double post';
$txt['doublePostHelp'] = 'Time(in Days) before double posting is considered as a bump attempt. A user is not allowed to post a continous second reply within the given time threshhold.';
$txt['doublePostAdmin_sub'] = 'Is set as in Days. Click on the "?" if you want more information. Leave Blank to prevent double posting always';

?>

Joker™

Quote from: Illori on November 11, 2011, 10:37:10 AM
please attach your modifications.english.php file to your next post.
Please attach the file instead of copy pasting it.

What mods do you have installed on your forum?

Moreover the related text string is not present in what you have copy pasted. Was there an error while installing or uinstalling the mod?
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

FAQ

1.    Country Flags    1.1.2    
2.    Smart Pagination    0.6    
3.    Show User Posts By Certain Boards    1.0    
4.    Add security verification to the Login page    1.1
5.    Double Post Stopper    1.1    
6.    SMFPacks: SEO Lite Mod    1.0

and we are uninstalled and deleted few packages. few hours ago
we have this.

now we can't uninstall any package
One and only little forum angel
[nofollow]

morpheuslogged

We don't know how to attach it,

We were installed a Mod called Ban Link In post(Somthing like that) since then this message shows....
// MOD Ban Link in Post $txt['ban_user_via_post'] = 'You last visited:';  In top

So uninstalled it and deleted that mod message still there  :'( :'( :'(
Image Cap



ARG01

Can you attach your themes index.template.php file? For some reason I am seeing this line in that file.
// MOD Ban Link in Post
$txt['ban_user_via_post'] = 'You last visited:';



;)
No, I will not offer free downloads to Premium DzinerStuido themes. Please stop asking.

FAQ

Quote from: ARG on November 11, 2011, 11:21:55 AM
Can you attach your themes index.template.php file? For some reason I am seeing this line in that file.
// MOD Ban Link in Post
$txt['ban_user_via_post'] = 'You last visited:';



;)

our default theme or normal  theme?
One and only little forum angel
[nofollow]

morpheuslogged

I don't know how to Attach But i did craeted a copy of Modifications.english.php and saved it in root and renamed(So you can view else it'll not work)...
hxxp:www.centsia.com/Modifications.english.ph [nonactive]

ARG01

The Anecdota theme. If you cant attach then post the file contents and please use the code (#) brackets in the post editor.
No, I will not offer free downloads to Premium DzinerStuido themes. Please stop asking.

FAQ

#14
Quote from: ARG on November 11, 2011, 11:30:12 AM
The Anecdota theme. If you cant attach then post the file contents and please use the code (#) brackets in the post editor.

here file

www.filesonic.com/file/3426936605/index.template.php

or where we can download  correct and clean Modifications.english.php file  ???
One and only little forum angel
[nofollow]

Oldiesmann

Quote from: FAQ on November 11, 2011, 11:39:16 AM
Quote from: ARG on November 11, 2011, 11:30:12 AM
The Anecdota theme. If you cant attach then post the file contents and please use the code (#) brackets in the post editor.

here file

www.filesonic.com/file/3426936605/index.template.php

or where we can download  correct and clean Modifications.english.php

We need Modifications.english.php, not index.template.php. To attach files, click "Reply" at the bottom of the page, then click the "+" next to "Attachments and other options" and you will see a file upload box.
Michael Eshom
Christian Metal Fans

ARG01

They don't have enough posts to attach. I thought that i was seeing it in index.template but apparently not. In any case it is on line 1 of one of their files. Probaly Modifications.english.php

;)
No, I will not offer free downloads to Premium DzinerStuido themes. Please stop asking.

FAQ

Quote from: Oldiesmann on November 11, 2011, 11:44:35 AM


We need Modifications.english.php, not index.template.php. To attach files, click "Reply" at the bottom of the page, then click the "+" next to "Attachments and other options" and you will see a file upload box.

thanks

attached

One and only little forum angel
[nofollow]

Oldiesmann

It's not in that file. Does the theme you're using have that file at all?
Michael Eshom
Christian Metal Fans

ARG01

Quote from: Oldiesmann on November 11, 2011, 11:59:54 AM
It's not in that file. Does the theme you're using have that file at all?

No, only index.template and settings.template and then Settings.english in the language folder. But I really don't think that it is a language file issue.
No, I will not offer free downloads to Premium DzinerStuido themes. Please stop asking.

Oldiesmann

The mod supposedly only adds that to the Modifications language file, so I'm not sure what the issue could be. The error about modification failed for Modifications.english.php is simply because the language string it's trying to remove from that file isn't even there. You should be able to continue with the uninstall if everything else is showing as successful.
Michael Eshom
Christian Metal Fans

ARG01

This is what I am getting in the top section when viewing their Page Source.

// MOD Ban Link in Post
$txt['ban_user_via_post'] = 'You last visited:';<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="http://centsia.com/forum/Themes/Anecdota_20g/css/index.css?fin20" />
<script type="text/javascript" src="http://centsia.com/forum/Themes/default/scripts/script.js?fin20"></script>
<script type="text/javascript" src="http://centsia.com/forum/Themes/Anecdota_20g/scripts/theme.js?fin20"></script>
<script type="text/javascript"><!-- // --><![CDATA[
var smf_theme_url = "http://centsia.com/forum/Themes/Anecdota_20g";
var smf_default_theme_url = "http://centsia.com/forum/Themes/default";
var smf_images_url = "http://centsia.com/forum/Themes/Anecdota_20g/images";
var smf_scripturl = "http://centsia.com/forum/index.php";
var smf_iso_case_folding = false;
var smf_charset = "UTF-8";
var ajax_notification_text = "Loading...";
var ajax_notification_cancel_text = "Cancel";
// ]]></script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<meta name="description" content="centsia - Index" />
<meta name="keywords" content="ptc,scam,stable,earn,money,online,forum,legit,bux,paid to click" />
<title>centsia - Index</title>
<link rel="canonical" href="http://centsia.com/forum/index.php" />
<link rel="help" href="http://centsia.com/forum/index.php?action=help" />
<link rel="search" href="http://centsia.com/forum/index.php?action=search" />
<link rel="contents" href="http://centsia.com/forum/index.php" />
<link rel="alternate" type="application/rss+xml" title="centsia - RSS" href="http://centsia.com/forum/index.php?type=rss;action=.xml" />

</head>
No, I will not offer free downloads to Premium DzinerStuido themes. Please stop asking.

Oldiesmann

Michael Eshom
Christian Metal Fans

ARG01

Could be. It should be real easy to find and fix but one would need access to their files to do so. One strange thing is that when I downloaded their attached Modifications.english.php it saved as index.php.  ???
No, I will not offer free downloads to Premium DzinerStuido themes. Please stop asking.

morpheuslogged

What do we do next??Do we have to upload any other files ???? :(  ::)

Oldiesmann

Quote from: ARG on November 11, 2011, 12:08:30 PM
Could be. It should be real easy to find and fix but one would need access to their files to do so. One strange thing is that when I downloaded their attached Modifications.english.php it saved as index.php.  ???

That's a bug with the way SMF handles file downloads and Firefox 8. There's more info about that issue floating around here somewhere.

Quote from: morpheuslogged on November 11, 2011, 12:11:10 PM
What do we do next??Do we have to upload any other files ???? :(  ::)

Try attaching index.php.
Michael Eshom
Christian Metal Fans

morpheuslogged

What do we do next??Do we have to upload any other files ???? :(  ::)

FAQ

#27
closed
One and only little forum angel
[nofollow]

FAQ

#28
closed
One and only little forum angel
[nofollow]

FAQ

One and only little forum angel
[nofollow]

ARG01

Nothing wrong there either. Also, no need to double post.  ;)
No, I will not offer free downloads to Premium DzinerStuido themes. Please stop asking.

ARG01

You have too many files to attach for us to go through them all. Just open your default theme files one by one in a text editor. Which ever file has this line at the top, just remove that line and you should be good to go.
// MOD Ban Link in Post
$txt['ban_user_via_post'] = 'You last visited:';


;)
No, I will not offer free downloads to Premium DzinerStuido themes. Please stop asking.

meetdilip

If I may suggest, simply download the themes folder, upload in some file sharing sites like Rapidshare and post the link here. Will save both parties the trouble of checking for the correct file.

MrPhil

It's very simple. Use whatever tool is available in your server or PC (if you have a copy of your files on your PC) to scan/search for the string You last visited: in your .php files. You will find a couple of lines

// MOD Ban Link in Post
$txt['ban_user_via_post'] = 'You last visited:';

in some .php file, outside of the PHP code (before <?php or after ?>). The mod was misinstalled, in the wrong place, and possibly into the wrong file.

FAQ

#34
we will try
One and only little forum angel
[nofollow]

Adish - (F.L.A.M.E.R)

Just adding/simpliflying what MrPhil said. Check that you dont have any entries in the files after ?> with the name 'Modifications.(language).php'

I suspect that you may be using utf8 file instead.

I am having a lol moment. :P

FAQ

Quote from: (F.L.A.M.E.R) on November 11, 2011, 01:37:14 PM
Just adding/simpliflying what MrPhil said. Check that you dont have any entries in the files after ?> with the name 'Modifications.(language).php'

I suspect that you may be using utf8 file instead.

I am having a lol moment. :P

yep  problem in utf8 file edited it thank you all
One and only little forum angel
[nofollow]

Advertisement: