Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
in source code there is nothing after slideshow in sidebar
#1
1. Suddenly in page does not shown anything after </a> (when I look at view page source, </a> is last thing there.

http://www.malus.lv/new/index.php?id=pakalpojumi

<div class="section">
<?php get_component('sidebar'); ?>
<a href="http://www.malus.lv/new/zalaaptieka"><?php get_i18n_gallery('slideshow2'); ?></a>
<?php if (get_parent(0)=='pakalpojumi') get_component('left_pakalpojumi'); ?>
....

is there something wrong with <?php if (get_parent(0)=='pakalpojumi') get_component('left_pakalpojumi'); ?> code?
If I took out <?php if (get_parent(0)=='pakalpojumi') get_component('left_pakalpojumi'); ?> code, the page is read till next get_component script.
How to fix it so tha page reads get_component scripts?


and second -
in support there is message for upgrade.
GetSimple Version Upgrade needed to 3.2.3

Do I need to upgrade version? Where can I see the instruction, how to do that?
Reply
#2
Did you change the pages parent ?

You do not have to upgrade, click the download link directly under the message, there are instructions there.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#3
(2013-09-11, 23:48:59)shawn_a Wrote: Did you change the pages parent ?

no. I found that in every page, where in code was put
<?php get_component('example'); ?>
or
<?php if (get_parent(0)=='pakalpojumi') get_component('left_pakalpojumi'); ?>
or
<?php if (return_page_slug()=='galerijas') get_component('left_galerijas'); ?>

the page reads everything till the first get_component('fexample') in code.

You do not have to upgrade, click the download link directly under the message, there are instructions there.
Thanks
Reply
#4
If you did not write that code, then it is part of your theme, ask the theme creator in the proper thread.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#5
(2013-09-11, 23:57:39)shawn_a Wrote: If you did not write that code, then it is part of your theme, ask the theme creator in the proper thread.

I write that codes. Nothing was changed for monthes. But today suddenly every page where is ...get_component... code in, stops before this ...get_component...
Reply
#6
hmm, check health check.
turn on debugmode in gsconfig and check for php errors on your page.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#7
(2013-09-12, 00:06:06)shawn_a Wrote: hmm, check health check.
turn on debugmode in gsconfig and check for php errors on your page.

I turn on debugmode. How can I check for php errors? there is no file http://www.malus.lv/new/data/other/logs/errorlog.txt
...Forbidden
You don't have permission to access /new/data/other/logs/errorlog.txt on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request....
Reply
#8
Your site is displaying this:
Quote:Fatal error: SUHOSIN - Use of eval is forbidden by configuration in [...]/admin/inc/theme_functions.php(575) : eval()'d code on line 575

Maybe your host changed something?
Reply
#9
Looks like your host is blocking eval
Components use eval, no way around it currently, you can move them to php functions and call them in your templates but thats about it.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#10
(2013-09-12, 01:14:07)shawn_a Wrote: Looks like your host is blocking eval
Components use eval, no way around it currently, you can move them to php functions and call them in your templates but thats about it.

Thank you! We contacted hosting and now everything is working.

(2013-09-12, 00:31:01)Carlos Wrote: Your site is displaying this:
Quote:Fatal error: SUHOSIN - Use of eval is forbidden by configuration in [...]/admin/inc/theme_functions.php(575) : eval()'d code on line 575

Maybe your host changed something?


Thank you. You was right. Host changed something.
Reply




Users browsing this thread: 1 Guest(s)