Osclass Support Forums
General osclass questions => Themes => Topic started 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?
-
@Sascha71
That sounds bit weird, make sure theme is correctly placed in oc-content/themes/ folder
-
Yes, it`s in the correct folder
-
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
-
@Sascha71
That is correct.
If you got blank screen, enable error logging in your hosting and look on the error you've got.
-
Error loging is enabled, but no errors 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
[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
-
Why themes/omega? I don`t have a theme Omega
-
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
-
In the attachement the function.php from the theme
-
@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
-
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.
-
@Sascha71
Not quite sure what is fake version but OK