News:

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

Main Menu

How to remove PortaMX Mod and having a clean forum without any Mods

Started by hartiberlin, January 31, 2023, 05:19:06 PM

Previous topic - Next topic

hartiberlin

As here are also many users who used SMF2.019 previously,
I wanted to know,
how I can remove all MODs from SMF 2.019,

especially  PortaMX Portal Mod.

I tried uploading the SMF 2.019 Upgrade package by extracting all files
and started it from a subdirectory, then it ran through almost to the end
until it said, all files have been updated , but then at the end came an error...
as it said somehow loadxxx...


also with repaiir-settings.php I could not fix it by deleting all the hooks...
and verifying all the right adress folder links were okay....


and now when I call up my domain there is always an error with the PortaMX Portal being not
valid for the DSGO or something like this...

I have to lookup and post the error messages again

Could I just fix it if I remove all the PortaMX tables from the database with PHPMYADMIN ?
Is this enough to remove all the PortaMX portal Mod functions from my forum ?


Or do I need also to modify any other PHP files somehow ??

Many thanks.

P.S: I had SMF 2.015 installed and wanted to update it to SMF 2.019

but there were some parser errors listed , but I did the updates anyway...
So now it is broken and as the PortaMX Mod is no longer updated and Felines PortaMX Domain has gone,
I would rather install SimplePortal oder TinyPortal..

vbgamer45

Large upgrade and deleting the hooks should do it.

I would also delete .htacess file if that exists as well
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

hartiberlin

Here are the error messages;
Now it says, when I call up my domain:


Call to undefined function pmx_checkECL_Cookie()


And the SMF Upgrade Utility
says:


    Step 4: Database Changes
    Step 5: Delete Upgrade

83%

Overall Progress
100%

Step Progress
Time Elapsed: 0 mins, 11 seconds.
Database Changes
Executing database changes
Please be patient - this may take some time on large forums. The time elapsed increments from the server to show progress is being made!

Database Updates Complete! Click Continue to Proceed.

So it seems it has done all the steps necessary, but  when I continue it says:
at step5:


Fatal error: Uncaught Error: Call to undefined function pmx_checkECL_Cookie() in /www/htdocs/xxxx/yyyyy/Sources/Load.php:425 Stack trace: #0 /www/htdocs/xxxx/yyyyy/smf219/upgrade.php(132): loadUserSettings() #1 {main} thrown in /www/htdocs/xxxx/yyyyy/Sources/Load.php on line 425


So it seems it can not remove the installation files at the end or somethingg like this..

How can I fix this manually ??

Many thanks.
Regards, Stefan.

hartiberlin

Quote from: vbgamer45 on January 31, 2023, 05:30:32 PMLarge upgrade and deleting the hooks should do it.

I would also delete .htacess file if that exists as well

Many thanks vbgamer45,

.htaccess In which directory ? In the root directory or in the SMF219 subdirectory ?

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

hartiberlin

Okay, I tried renaming .htacess in the root directory of the domain
and it has thrown the same error at the end...
and in my smf219 subdirecory, where I uploaded the bigupgrade files from SMF 2.019 was no .htacess


vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

hartiberlin

Seems to have something to do with this DSGO European law Cookie settings..
Maybe I should clear my cookies on my Firefox and try again ??

hartiberlin

The error is:

Fatal error: Uncaught Error: Call to undefined function pmx_checkECL_Cookie() in /www/htdocs/xxxx/yyyyy/Sources/Load.php:425 Stack trace: #0 /www/htdocs/xxxx/yyyyy/smf219/upgrade.php(132): loadUserSettings() #1 {main} thrown in /www/htdocs/xxxx/yyyyy/Sources/Load.php on line 425


vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

hartiberlin

How can I clear the cookies on the domain ??
Or are they just stored on my Firefox Browser only ??

hartiberlin

Quote from: vbgamer45 on January 31, 2023, 06:09:32 PMAnd that is with the large upgrade an all hooks removed

Yes. all hooks already removed via repair-settings.php
and all pathes verified...

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

hartiberlin

Now I cleared the browser cache and the upgrade went through ! Super !!

hartiberlin

Well still the error, when I call up the domain:

overunity.com

Call to undefined function pmx_checkECL_Cookie()

Damn..

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

hartiberlin

If I clear out all the tables from the database beginning with "pmx"
can that fix it with phpmyadmin ?
or where is this annoying cookie being set ??


vbgamer45

domain itself.  You could remove them. But I still think it is some hook there that is stuck...
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

hartiberlin

Okay, here is the Load.php
from the Sources Directory:
You cannot view this attachment.

vbgamer45

Doesn't look like you over wrote the code...
// PortaMx ecl cookie handling
if(!pmx_checkECL_Cookie())
pmx_setECL_Cookie();


This is still in that Load.php file.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

hartiberlin

Inside the Sources Directory there is also a PMX Subdirectory... Should I delete it ?

Also there is Load.php~
file, so an older version...
hmm..

hartiberlin

Quote from: vbgamer45 on January 31, 2023, 06:33:06 PMDoesn't look like you over wrote the code...
// PortaMx ecl cookie handling
if(!pmx_checkECL_Cookie())
pmx_setECL_Cookie();


This is still in that Load.php file.

Okay, Thanks, I will remove this code then..
Many thanks..

vbgamer45

I would reupload the large upgrade. Wipe or rename the sources folder and themes folder. like sources2 themes2 etc make a backup first.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

hartiberlin

Okay, I will try, that patching to the ECL did nothing inside the Load File...

hartiberlin

it seems the big upgrade still needs files in the Sources folder to do the upgrade,
so just renaming the Sources folder does not help...



Warning: require_once(/www/htdocs/xxxxx/overunity/Sources/Subs.php): failed to open stream: No such file or directory in /www/htdocs/xxxxx/overunity/smf219/upgrade.php on line 138

Fatal error: require_once(): Failed opening required '/www/htdocs/xxxxx/overunity/Sources/Subs.php' (include_path='.:/usr/share/php:..') in /www/htdocs/xxxxx/overunity/smf219/upgrade.php on line 138

vbgamer45

You need the sources folder from the large upgrade uploaded on your site and all files from the large upgrade.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro


hartiberlin

Quote from: vbgamer45 on January 31, 2023, 06:59:45 PMYou need the sources folder from the large upgrade uploaded on your site and all files from the large upgrade.

Ahh I see, so I have to replace them there... Sorry... my error...lol...

hartiberlin

Now I have the domain without the Mods,
but the frontpage still says:



    Free Energy | searching for free energy and discussing free energy

An Error Has Occurred!
Call to undefined function PortaMx()
Back

hartiberlin

And also I can no longer login into my domain..
Hmm
it comes up again with:


An Error Has Occurred!
Call to undefined function PortaMx()


hartiberlin

tommorow I will try to remove all PortaMX Tables from the database with phpmyadmin...

vbgamer45

You must have the old files somewhere... or the large upgrade you are uploading isn't overwriting the files.

When you attached the Load.php file it still had the pmx code in it...
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Kindred

It has nothing to do with the pmx tables in the dB.

You are not actually following the upgrade instructions.

So... do this

1, delete the sources directory entirely
2, delete the themes directory entirely
3, delete index.php and ssi.php

4, now, upload the upgrade archive and extract

5, upload repair_settings.php
6, run repair_settings.php and remove hooks
7, run upgrade.php
Сл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."

hartiberlin

Many thanks  Kindred,

it worked all out..
Can I buy you and VBGamer a coffee for ths help somehow ?
You can send me your PayPal adress for the donation or your Buy me a coffee link.
Many thanks and my gratitude for your help.
Best Regards from Stefan.

Steve

DO NOT pm me for support!

hartiberlin

I am still having a problem with the URLs..

old URLs don't work...

Like:
https://overunity.com/19069/holcomb-energy-systemsbreakthrough-technology-to-the-world/msg571667/#msg571667

They are just redirecting to the homepage...

Now I think the default setting is with a question mark somehow...
like:
https://overunity.com/index.php?topic=18497.0

How can I convert this again to these Slashes ??
Was this done via a Mod like PortaMX or
was this done without a mod ??

Many thanks again.

Kindred

It would have probably been the prettyurls mod...   or it might have been part of portamx, she did alot of wierd stuff in that mod
Сл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."

hartiberlin

I see, then it was probably from PortaMX, because I did only use this...

Is the PortaMX 1.54 ECL Mod still compatible with SMF 2.019 ?

Then I will try to install this again...

Or is there also something simular in SimplePortal or TinyPortal Mod ?

Kindred

Сл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."

hartiberlin

Okay, now the URLs also work again.
I had to reinstall the latest PortaMX 1.54.2 fork plugin again to get the SEF Format URLs again to work..

If anything is not yet working, please let me know.

Many thanks.

Regards, Stefan.

hartiberlin

Hi All,
I want to retire now from being an Admin for my overunity.com site..

I have SMF 2.0.19 and PortaMX 1.54-2 fork from here installed:
https://github.com/iasdeoupxe/PortaMx-1.54-ecl/tree/master

Which was a bugfixed version as it seems the Programmer Feline is no longer Alive..

So now I have the problem, that I wanted to set my forum into a mode, where
Guests can see all the postings and ALL Attachments !
But it does not show any attachments, although I have set this in the
Admin memnu,
see attachments..
So what can I do to get this working ??
Screenshot link at imgur

Many thanks. Regards, Stefan.

hartiberlin

Maybe it would be the easiest solution to upgrade to SMF 2.1.x
and remove PortaMX ?
But then I probabyl would no longer have the SEF URLs and the my links to the topics would no longer
work, right ?

Also it should just be a very quick fix and I don't have time for some long fiddling with php files...

So I would prefer, if someone could help me with this, as I had a stroke and I am very ill and thus I want to retire from Computer work.. I am now just too old.
Many thanks.
Best regards, Stefan.
P.S.  I will donate you 20 bucks, if this could be easily solved...
Many thanks in advance..
P.S: look into the previous Posting with the Imgur Screenshot, then it is getting clearer...Thanks.

Advertisement: