GetSimple Support Forum
PROBLEM Internal Server Error - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Themes (http://get-simple.info/forums/forumdisplay.php?fid=10)
+--- Thread: PROBLEM Internal Server Error (/showthread.php?tid=16392)



Internal Server Error - johnywhy - 2021-04-24

when i save a theme edit, i get this error. why?
i'm trying to use 
<?php get_component...


RE: Internal Server Error - Oleg06 - 2021-04-24

You may have forgotten the parentheses or quotes. Or you don't have such a component.
Code:
<?php get_component('banner'); ?>



RE: Internal Server Error - johnywhy - 2021-04-24

(2021-04-24, 19:13:22)Oleg06 Wrote: You may have forgotten the parentheses or quotes. Or you don't have such a component.
Code:
<?php get_component('banner'); ?>

i'm copying and pasting the code directly from the component editor
Code:
<?php get_component('newletter-popup'); ?>



RE: Internal Server Error - Felix - 2021-04-24

To help in a better way and speed up support - show some screenshots

imgbb has a decent screenshot service
as they allow delete after x time

Greetings
The GS team


RE: Internal Server Error - johnywhy - 2021-04-30

Felix: "show some screenshots"

And now it's working Big Grin

I put the tag into the "Default Template"


RE: Internal Server Error - johnywhy - 2021-08-29

(2021-04-24, 19:13:22)Oleg06 Wrote: You may have forgotten the parentheses or quotes. Or you don't have such a component.
Code:
<?php get_component('banner'); ?>

i'm experiencing this issue again. This isn't about using "get_component" -- it's about editing pages or the contents of components. 

My site loads fine, but if i go into component-editor and simply click Save Components (without making any changes), i get the error. 

[Image: get-simple-components-screen.png]

Same error if i try to edit an existing page. Not using "get_component" in the page.


RE: Internal Server Error - Felix - 2021-08-29

Quote:href="/donate"

are you sure that path format is not giving trouble ?
Use an absolute server path


RE: Internal Server Error - johnywhy - 2021-08-30

(2021-08-29, 19:43:21)Felix Wrote:
Quote:href="/donate"

are you sure that path format is not giving trouble ?
Use an absolute server path

it's not giving trouble. The component works. 
i tried an absolute path. Still getting same error. 

i have six components total. They all work. The only problem is clicking Save on this screen.