News:

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

Main Menu

SunRise

Started by SychO, September 22, 2018, 10:12:35 PM

Previous topic - Next topic

geezmo

Ok thanks Sycho!

Quote from: SychO on April 07, 2019, 03:46:21 PM
Thank you,

1. There currently isn't an option to prevent users from switching modes, I'll be adding an option in a future update though

2. That seems to be a bug in the theme, until I fix it in a future update you can avoid it by either turning ON "Show statistics on board index:" in the theme settings, or turning ON "Show latest member on board index:"

UltimatePremium

Hi,
Have you got older versions availabe please? Todays version make an error and my whole forum deasappers for some reason.

SychO

How did you update exactly ?
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

UltimatePremium

I have tried few ways. Non of them worked. I have cleaned theme folder as well and then clean install and my forum disappears. Afterwards I have tried Lazarus and it installs withouth problems.

SychO

okay but how did you update from the old version to this new one ?
Can you access your forum from ?theme=1 and is there anything in the error log ?
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

UltimatePremium

I have just flashed new zip trying over the old. That didn't work. I have full access to the files.

SychO

Well you shouldn't have done that, you probably had mods installed and by overwriting the files you broke one or more of them.
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

UltimatePremium

Ok then, must be my fault. How Can I fix this please? I can install any theme but SunRise :/

SychO

what mods do you have installed ?
and any errors on the error log ?
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

UltimatePremium

Log

8: Undefined index: sr_header_logo_url_descFiltruj
File: /var/www/html/forum/Themes/SunRise20_2/Settings.template.php (settings sub template - eval?)
Line: 165

Mods:

1.   Topic Solved   1.1.1
2.   Reason For Editing Mod   2.3.3
3.   @mention members   1.1.2
4.   Tapatalk SMF 2.0 Plugin   4.5.2
5.   Topic Viewers   1.0
6.   Simple Audio Video Embedder   4.5.2
7.   SMFPacks Shoutbox

SychO

That's an error in the theme indeed, though not the kind that would cause this,

only thing you can do is uninstall the mods, install the theme and then re-install the mods, as far as I can tell
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

UltimatePremium

I think there is an error with this:
2: Illegal string offset 'type'
File: /var/www/html/forum/Themes/default/languages/Mentions.english.php (set_settings sub template - eval?)
Line: 615

I have uinstalled mentions mod but issue are stille here

UltimatePremium

Ok I can install SunRise theme but a soon as I try to switch to it it gives me error

HTTP ERROR 500

SychO

check your error log and error_log which should be in your website's root folder
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

UltimatePremium

error_log

some crazy stuff

[Tue Apr 16 23:05:31.339185 2019] [:error] [pid 27900] [client 86.3.119.135:50566] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252
[Tue Apr 16 23:05:32.127014 2019] [:error] [pid 25125] [client 86.3.119.135:50570] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252
[Tue Apr 16 23:05:32.748297 2019] [:error] [pid 28604] [client 86.3.119.135:50571] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252
[Tue Apr 16 23:05:41.682275 2019] [:error] [pid 28699] [client 86.3.119.135:50572] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252,

SychO

turn off template eval to see where the error is actually coming from,

did the package manager show any errors when uninstalling or installing (if you did re-install) the mods ?
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

UltimatePremium

Ok I had to set up whole new forum with clean installation. Still can't get SunRise to use. Installation is fine, but then when I try use it it goes to error http 500

I have installed Lazarus and its working fine but can't get back to Sunrise  :(

SychO

I actually can't know if it's a problem with the theme unless you check the error_log file in the root folder of your site
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

UltimatePremium

Thats what I get

sh: host: command not found
[Wed Apr 17 22:45:31.635700 2019] [:error] [pid 16988] [client 86.3.119.135:53478] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252, referer: http://ku.onthewifi.com/forum/index.php?action=theme;sa=pick;u=3;fb7458e9=cadbff266a8c6954769a310cb1626b01
[Wed Apr 17 22:45:34.879591 2019] [:error] [pid 18783] [client 86.3.119.135:53481] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252, referer: http://ku.onthewifi.com/forum/index.php?action=profile;area=theme;u=3
[Wed Apr 17 22:45:36.250496 2019] [:error] [pid 18890] [client 86.3.119.135:53482] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252
[Wed Apr 17 22:45:37.519044 2019] [:error] [pid 18776] [client 86.3.119.135:53483] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252, referer: http://ku.onthewifi.com/forum/index.php?action=profile;area=account
[Wed Apr 17 22:45:38.307650 2019] [:error] [pid 18287] [client 86.3.119.135:53484] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252, referer: http://ku.onthewifi.com/forum/index.php?action=admin;area=theme;sa=install;theme_id=2;fb7458e9=cadbff266a8c6954769a310cb1626b01
[Wed Apr 17 22:45:39.011753 2019] [:error] [pid 18888] [client 86.3.119.135:53485] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252, referer: http://ku.onthewifi.com/forum/index.php?action=admin;area=theme;sa=admin;fb7458e9=cadbff266a8c6954769a310cb1626b01
[Wed Apr 17 22:45:40.090945 2019] [:error] [pid 18870] [client 86.3.119.135:53486] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252, referer: http://ku.onthewifi.com/forum/index.php?action=admin;area=featuresettings
[Wed Apr 17 22:45:40.225788 2019] [:error] [pid 16990] [client 86.3.119.135:53487] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252, referer: http://ku.onthewifi.com/forum/index.php
sh: host: command not found

Kindred

I'm betting it's a problem with the theme files chmod permissions.

Set the files to 664 and the directories to 775 and then try again.
Сл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: