News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Admin area wont work.

Started by tejli007, November 18, 2012, 06:13:48 PM

Previous topic - Next topic

Shambles

We're just working through some things via pm, though I suspect your help would be appreciated, z

ziycon

Quote from: Shambles™ on November 19, 2012, 02:25:29 PM
We're just working through some things via pm, though I suspect your help would be appreciated, z
No problem, didn't know, work away. :)

tejli007

►  iWipo Webhosting Forum www.iWipo.com

ziycon

You can access the admin panel now, the other issue as I've already said could be related to the portamx mod, upgrade to the latest version and see how you get on as there are one or two issues fixed in version 1.51.

tejli007

I did upgrade. And still got a problem. THanks ziycon for the help.

Need a Portamx expert please to fix the next issue. Cant change templates now. When i press Themes and Layots it redirects me in the same page.

Help needed.
►  iWipo Webhosting Forum www.iWipo.com

tejli007

Sorry for bump but i really need to sleep am the whole day with this issue! The admin errorlog in smf generates every time i refresh the page 10x those errors:


http://www.mysite.com/index.php?action=admin;area=logs;sa=errorlog;desc
Apply Filter: Only show the errors with the same message
2: Wrong parameter count for array_slice()
Apply Filter: Only show the errors from this file
File: /home/user/public_html/Sources/Subs-Optimus.php
Line: 463
   
     Reverse chronological order of list Today at 02:13:09 AM
Apply Filter: Only show the error messages of this session 13d32c2019c1d74cb5897d8686556465
Apply Filter: Only show the errors of this type Type of error: General
Apply Filter: Only show the error messages of this URL
http://www.mysite.com/index.php?action=admin;area=logs;sa=errorlog;desc
Apply Filter: Only show the errors with the same message

2: Wrong parameter count for array_slice()
Apply Filter: Only show the errors from this file
File: /home/user/public_html/Sources/Subs-Optimus.php
Line: 448


8: Undefined index: path
Apply Filter: Only show the errors from this file
File: /home/user/public_html/Sources/PortaMx/SubsCompat.php
Line: 263


Can someone help me please`?
►  iWipo Webhosting Forum www.iWipo.com

tejli007

►  iWipo Webhosting Forum www.iWipo.com

kat

Just thinking out-loud, here...

What are you using, to upload files?

If, perchance, you're using Filezilla, try changing the "Transfer type" to "binary", not "auto", which is the (broken) default.

tejli007

I have tryed everything. binary to. Avtive and pasive to. There is some mysql error i think. 2 of smf team try to fix it but without error.
►  iWipo Webhosting Forum www.iWipo.com

Shambles

What did ziycon do to restore your admin access (sorry I had to leave early last night)?

ziycon

Quote from: Shambles™ on November 20, 2012, 05:55:06 AM
What did ziycon do to restore your admin access (sorry I had to leave early last night)?
There was a variable set incorrectly in a Subs-fquo.php it was set as &$value instead of $value, once changed the admin worked.

All the issues look to be related to portamx, I would almost suggest, disbling all mods on the old server copy over the database and SMF files and then once the forum is working like this then install all the mods again, this will rule out the forum transfer causing issues and it being a mod issue which I suspect.

tejli007

Hi champ.

ziycon:

There was a php variable in source/Subs-fguo.php that was set incorrectly, it was coded like below:

Code: [Select]
&$value when it should be:

Code: [Select]
$value

Most likely a mod you installed or someone making changes to your code.


Than he told me to upgrade portamx. I did and the whole forum shows blank. He fix it again. Now the problem is :

I can access the admin area but i cant change themes. When i press themes and layers it redirects me in the same page. and the smf admin error shows the error above.

At admin area under Configurations normally are 7-10 under menus now it shows just one.
►  iWipo Webhosting Forum www.iWipo.com

tejli007

►  iWipo Webhosting Forum www.iWipo.com

tejli007

It was Optimus-brave. I have uninstalled and now works. THanks to all who helped.
►  iWipo Webhosting Forum www.iWipo.com

Kindred

Interesting... Glad you got it fixed.

I will note that I have optimus brave installed on three forums with no problems...   so it must have been a bad interactions between that and another mod in the admin sources...
Сл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."

Advertisement: