News:

Wondering if this will always be free?  See why free is better.

Main Menu

help two problem

Started by xena1997, January 09, 2018, 04:25:39 PM

Previous topic - Next topic

Kindred

Quote from: Kindred on January 09, 2018, 07:00:32 PM

1- problems with mods should be asked for help in the thread dedicated to supporting that specific mod.
(this is the second or third mod problem that you asked in the smf general support -- ask in the mod support next time, please)

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

xena1997

I do not speak more than mod now I ask assistance in this discussion only
for the index file

Shambles

Can you attach your Sources/Subs.php file please?

xena1997

sure my friend
here is the file

Shambles

Hmm.. can we just get a look at your QueryString.php file too please?

Illori

is it possible the copyright is added with hooks and the hooks could be duplicated somehow to cause this?

Shambles

The SMF copyright only appears once, but you know what these smfpacks people are like with their copyright strings...

xena1997


Shambles

Ok, looks like we might have found the problem.

Replace your QueryString.php file with the attached:

Depending on how it then looks we may need to make a further edit to it.

xena1997

now I replace the file and then you link to the forum so see if everything is OK?

Shambles


Shambles

As suspected, another edit is required. Try this version now:

xena1997

friend there is still a small double written error
can you correct?

https://crackingeurope.eu/index.php

Shambles

Yes. Both "SMF ads" and "Simple Audio Video Embedder" mods have been multi-installed.

The below should fix it, or at least get really close to it.

xena1997

sembra tutto ok cosa dici tu?



    SMF 2.0.15 | SMF © 2017, Simple Machines
    XHTML RSS WAP2

Pagina creata in 0.318 secondi con 17 interrogazioni al database.

Shambles

Yes, unfortunately all mod copyrights have disappeared, try this:

xena1997

no friend better the one without rights
this made it all double back

Shambles

Yes. Leave it with me while I try and sort it out correctly.

xena1997

I'm waiting for your news thanks friend

Shambles

It's a tough one to debug, this.

The copyrights/banners are being added dynamically to the output buffer (which is ok) but it looks like QueryString function ob_sessrewrite is being called twice in succession, duplicating the addition of the copyrights/banners.

Looking at your Subs.php I can now see the duplicated call as described above.

Please replace your QueryString.php file with the one you originally supplied then upload the edited Subs.php as attached.

Advertisement: