Osclass Support Forums

General osclass questions => Themes => Topic started by: Sascha71 on February 02, 2021, 04:38:06 PM

Title: Problems with theme Eva
Post by: Sascha71 on February 02, 2021, 04:38:06 PM
Hello together
I buyed the theme Eva 1.2.1. I use Osclass 4.3.2
Upload from oc-admin was not possible, so i loaded it with FTP in the theme folder.
I see it now in the oc-admin, but when i press activate, nothing happend.
What can i do?
Title: Re: Problems with theme Eva
Post by: MB Themes on February 02, 2021, 04:41:22 PM
@Sascha71
That sounds bit weird, make sure theme is correctly placed in oc-content/themes/ folder
Title: Re: Problems with theme Eva
Post by: Sascha71 on February 02, 2021, 04:43:44 PM
Yes, it`s in the correct folder
Title: Re: Problems with theme Eva
Post by: Sascha71 on February 02, 2021, 04:48:31 PM
When i press "activate", i get blank screen and this in the browser adress line:

https://mydomain.ch/oc-admin/index.php?page=appearance&action=activate&theme=eva&octoken=3menjf33lsia
Title: Re: Problems with theme Eva
Post by: MB Themes on February 02, 2021, 04:53:16 PM
@Sascha71
That is correct.
If you got blank screen, enable error logging in your hosting and look on the error you've got.
Title: Re: Problems with theme Eva
Post by: Sascha71 on February 02, 2021, 04:57:05 PM
Error loging is enabled, but no errors there
Title: Re: Problems with theme Eva
Post by: Sascha71 on February 02, 2021, 04:59:30 PM
[02-Feb-2021 16:22:01 Europe/Madrid] PHP Parse error:  syntax error, unexpected 'define' (T_STRING) in /home/kxuynzjd/public_html/oc-content/themes/eva/functions.php on line 1
[02-Feb-2021 16:31:39 Europe/Madrid] PHP Warning:  Invalid argument supplied for foreach() in /home/kxuynzjd/public_html/oc-admin/themes/omega/main/widget/products.php on line 22
[02-Feb-2021 16:32:21 Europe/Madrid] PHP Warning:  Invalid argument supplied for foreach() in /home/kxuynzjd/public_html/oc-admin/themes/omega/main/widget/products.php on line 22
[02-Feb-2021 16:34:47 Europe/Madrid] PHP Warning:  Invalid argument supplied for foreach() in /home/kxuynzjd/public_html/oc-admin/themes/omega/main/widget/products.php on line 22
[02-Feb-2021 16:46:56 Europe/Madrid] PHP Parse error:  syntax error, unexpected 'define' (T_STRING) in /home/kxuynzjd/public_html/oc-content/themes/eva/functions.php on line 1

This i found i a error log on the website
Title: Re: Problems with theme Eva
Post by: Sascha71 on February 02, 2021, 05:07:28 PM
Why themes/omega? I don`t have a theme Omega
Title: Re: Problems with theme Eva
Post by: MB Themes on February 02, 2021, 05:29:12 PM
Omega is backoffice theme.
Your problem is there:
[02-Feb-2021 16:22:01 Europe/Madrid] PHP Parse error:  syntax error, unexpected 'define' (T_STRING) in /home/kxuynzjd/public_html/oc-content/themes/eva/functions.php on line 1
Title: Re: Problems with theme Eva
Post by: Sascha71 on February 02, 2021, 05:37:43 PM
In the attachement the function.php from the theme
Title: Re: Problems with theme Eva
Post by: MB Themes on February 02, 2021, 07:00:54 PM
@Sascha71
First, it's paid theme, contact person you've bought it from
Second, file has removed formatting as in one line completely, that will be probably your problem
Title: Re: Problems with theme Eva
Post by: Sascha71 on February 02, 2021, 07:10:38 PM
Thank you for your help. i restart now, because in installed a fake osclass version 4.3.2. I start now again with evolution 4.3.0.
Title: Re: Problems with theme Eva
Post by: MB Themes on February 02, 2021, 07:28:17 PM
@Sascha71
Not quite sure what is fake version but OK