# Sitecake editor admin not working?

**URL:** https://forum.infinityfree.com/t/sitecake-editor-admin-not-working/58935
**Category:** Hosting Support
**Created:** [March 9, 2022, 3:46am UTC](https://forum.infinityfree.com/t/sitecake-editor-admin-not-working/58935 "2022-03-09T03:46:36Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![lovebug](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lovebug/32/57624_2.png) [@lovebug](https://forum.infinityfree.com/u/lovebug)
#### Post date: [March 9, 2022, 3:46am UTC](https://forum.infinityfree.com/t/sitecake-editor-admin-not-working/58935/1 "2022-03-09T03:46:36Z")

</div>

Hi, I installed sitecake from softaculous onto [http://lovebyte.eu.org/sitecake](http://lovebyte.eu.org/sitecake) to test it out but the admin doesnt allow me to login and instead just shows the website with broken images

Is there some configuration I need to edit ?

Thanks

This is the admin page

 ![image](https://forum-cdn.infinityfree.net/original/3X/7/b/7b4876889570528f69073ec17114a9f0e5c54e2f.png)

---

<div class="post-metadata">

### Author: ![jaikrishna.t](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/jaikrishna.t/32/57109_2.png) [@jaikrishna.t](https://forum.infinityfree.com/u/jaikrishna.t)
#### Post date: [March 9, 2022, 4:00am UTC](https://forum.infinityfree.com/t/sitecake-editor-admin-not-working/58935/2 "2022-03-09T04:00:12Z")

</div>

Working for me, clear your cache.

 ![image](https://forum-cdn.infinityfree.net/original/3X/0/2/026cc9ccce33bd54af31d2aa9ba682c0b2d9f461.png)

---

<div class="post-metadata">

### Author: ![lovebug](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lovebug/32/57624_2.png) [@lovebug](https://forum.infinityfree.com/u/lovebug)
#### Post date: [March 9, 2022, 4:01am UTC](https://forum.infinityfree.com/t/sitecake-editor-admin-not-working/58935/3 "2022-03-09T04:01:20Z")

</div>

did you get into the admin ? or just load the main site ?

---

<div class="post-metadata">

### Author: ![lovebug](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lovebug/32/57624_2.png) [@lovebug](https://forum.infinityfree.com/u/lovebug)
#### Post date: [March 9, 2022, 4:02am UTC](https://forum.infinityfree.com/t/sitecake-editor-admin-not-working/58935/4 "2022-03-09T04:02:43Z")

</div>

here try the admin login [http://lovebyte.eu.org/sitecake/sitecake.php/](http://lovebyte.eu.org/sitecake/sitecake.php/)

---

<div class="post-metadata">

### Author: ![jaikrishna.t](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/jaikrishna.t/32/57109_2.png) [@jaikrishna.t](https://forum.infinityfree.com/u/jaikrishna.t)
#### Post date: [March 9, 2022, 4:04am UTC](https://forum.infinityfree.com/t/sitecake-editor-admin-not-working/58935/5 "2022-03-09T04:04:59Z")

</div>

All external files return a 404 error. Check yourself in the Dev console.

---

<div class="post-metadata">

### Author: ![lovebug](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lovebug/32/57624_2.png) [@lovebug](https://forum.infinityfree.com/u/lovebug)
#### Post date: [March 9, 2022, 4:10am UTC](https://forum.infinityfree.com/t/sitecake-editor-admin-not-working/58935/6 "2022-03-09T04:10:12Z")

</div>

hmmm it looks like the softalucous installer installed sitecake where I specified to /sitecake but is trying to load images from /img instead of /sitecake/img

something is wrong with the installer

is that correct ?

 ![image](https://forum-cdn.infinityfree.net/original/3X/1/1/11d0159c73a6d64d50887ff8ac7b375daba601e9.png)

---

<div class="post-metadata">

### Author: ![lovebug](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lovebug/32/57624_2.png) [@lovebug](https://forum.infinityfree.com/u/lovebug)
#### Post date: [March 9, 2022, 4:10am UTC](https://forum.infinityfree.com/t/sitecake-editor-admin-not-working/58935/7 "2022-03-09T04:10:46Z")

</div>

i’ll install to root and see what happens

---

<div class="post-metadata">

### Author: ![lovebug](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lovebug/32/57624_2.png) [@lovebug](https://forum.infinityfree.com/u/lovebug)
#### Post date: [March 9, 2022, 4:14am UTC](https://forum.infinityfree.com/t/sitecake-editor-admin-not-working/58935/8 "2022-03-09T04:14:18Z")

</div>

installed it to root but same issue ☹

[http://lovebyte.eu.org/](http://lovebyte.eu.org/) (ok)  
[http://lovebyte.eu.org/sitecake.php/](http://lovebyte.eu.org/sitecake.php/) (admin not working)

---

<div class="post-metadata">

### Author: ![lovebug](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lovebug/32/57624_2.png) [@lovebug](https://forum.infinityfree.com/u/lovebug)
#### Post date: [March 9, 2022, 4:16am UTC](https://forum.infinityfree.com/t/sitecake-editor-admin-not-working/58935/9 "2022-03-09T04:16:58Z")

</div>

gonna write some php to test the get problem, possibly needs the full server directory structure ?

---

<div class="post-metadata">

### Author: ![lovebug](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lovebug/32/57624_2.png) [@lovebug](https://forum.infinityfree.com/u/lovebug)
#### Post date: [March 9, 2022, 4:21am UTC](https://forum.infinityfree.com/t/sitecake-editor-admin-not-working/58935/10 "2022-03-09T04:21:19Z")

</div>

i dont have enough knowledge to fix it ☹

---

<div class="post-metadata">

### Author: ![JavesPotato](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/javespotato/32/53167_2.png) [@JavesPotato](https://forum.infinityfree.com/u/JavesPotato)
#### Post date: [March 9, 2022, 4:25am UTC](https://forum.infinityfree.com/t/sitecake-editor-admin-not-working/58935/11 "2022-03-09T04:25:05Z")

</div>

Then, I think its better to actually ask SiteCake Community about it. Sure they will help you more:

[SiteCake Forum](https://forum.sitecake.com/)

---

<div class="post-metadata">

### Author: ![lovebug](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lovebug/32/57624_2.png) [@lovebug](https://forum.infinityfree.com/u/lovebug)
#### Post date: [March 9, 2022, 4:31am UTC](https://forum.infinityfree.com/t/sitecake-editor-admin-not-working/58935/12 "2022-03-09T04:31:03Z")

</div>

well I asked here because I used infinityfree softaculous installer from cpanel

i’ll wait to see what IF’s admin says

---

<div class="post-metadata">

### Author: ![lovebug](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lovebug/32/57624_2.png) [@lovebug](https://forum.infinityfree.com/u/lovebug)
#### Post date: [March 9, 2022, 4:43am UTC](https://forum.infinityfree.com/t/sitecake-editor-admin-not-working/58935/13 "2022-03-09T04:43:54Z")

</div>

somehow this just got marked solved ?

**this isnt solved**

---

<div class="post-metadata">

### Author: ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)
#### Post date: [March 9, 2022, 1:21pm UTC](https://forum.infinityfree.com/t/sitecake-editor-admin-not-working/58935/14 "2022-03-09T13:21:44Z")

</div>

I think I know what’s going on.

I think the issue is caused by using relative URLs in your HTML code. For example, looking at the styles and scripts:

```html
<link rel="stylesheet" href="css/reset.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/sitecake.css" />
<link rel="stylesheet" href="css/pt-serif/type.css" />
<script type="text/javascript" src="js/modernizr-2.5.3.min.js"></script>
<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>

```

All the hrefs start with a directory name, not a slash. That means the browser will try to load the URLs relative to the _current directory_, not relative to the base of your domain.

At your homepage, [http://lovebyte.eu.org/](http://lovebyte.eu.org/), this works fine, because the domain base is the same as the current directory.

But when opening the URL [http://lovebyte.eu.org/sitecake.php/](http://lovebyte.eu.org/sitecake.php/), the browser will think `/sitecake.php/` is the directory, because it ends with a slash. So it will load the files from [http://lovebyte.eu.org/sitecake.php/css/reset.css](http://lovebyte.eu.org/sitecake.php/css/reset.css), [http://lovebyte.eu.org/sitecake.php/css/style.css](http://lovebyte.eu.org/sitecake.php/css/style.css), etc.

To fix this, you can replace all the `href="css/`, `href="js/` and `href="img/` in your site with `href="/css/`, `href="/js/` and `href="/img/` respectively. That should fix the layout for your SiteCake preview.

---

<div class="post-metadata">

### Author: ![lovebug](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lovebug/32/57624_2.png) [@lovebug](https://forum.infinityfree.com/u/lovebug)
#### Post date: [March 9, 2022, 11:22pm UTC](https://forum.infinityfree.com/t/sitecake-editor-admin-not-working/58935/15 "2022-03-09T23:22:29Z")

</div>

thanks for the info admin, i’ll ftp the whole thing to my local hdd, search and replace and then push it back and see what happens

this site is the default template installed by sitecake on softalucous so i guess its a bit broken then ☹

---

<div class="post-metadata">

### Author: ![lovebug](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lovebug/32/57624_2.png) [@lovebug](https://forum.infinityfree.com/u/lovebug)
#### Post date: [March 9, 2022, 11:38pm UTC](https://forum.infinityfree.com/t/sitecake-editor-admin-not-working/58935/16 "2022-03-09T23:38:39Z")

</div>

well I fixed the 4 html files as suggested and this fixed the image issues but still the admin login / editor isnt working and just shows the regular page

 ![image](https://forum-cdn.infinityfree.net/original/3X/1/a/1ab62722efb9896b5734477a25143297d7b845cb.jpeg)

---

<div class="post-metadata">

### Author: ![jaikrishna.t](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/jaikrishna.t/32/57109_2.png) [@jaikrishna.t](https://forum.infinityfree.com/u/jaikrishna.t)
#### Post date: [March 10, 2022, 2:38am UTC](https://forum.infinityfree.com/t/sitecake-editor-admin-not-working/58935/17 "2022-03-10T02:38:02Z")

</div>

Clear cache…

---

<div class="post-metadata">

### Author: ![lovebug](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lovebug/32/57624_2.png) [@lovebug](https://forum.infinityfree.com/u/lovebug)
#### Post date: [March 10, 2022, 10:37am UTC](https://forum.infinityfree.com/t/sitecake-editor-admin-not-working/58935/18 "2022-03-10T10:37:27Z")

</div>

again with the clear the cache ??? lol

here try it and clear your cache, good luck

[http://lovebyte.eu.org/sitecake.php](http://lovebyte.eu.org/sitecake.php) see if you get the admin login page

---

<div class="post-metadata">

### Author: ![jaikrishna.t](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/jaikrishna.t/32/57109_2.png) [@jaikrishna.t](https://forum.infinityfree.com/u/jaikrishna.t)
#### Post date: [March 10, 2022, 10:40am UTC](https://forum.infinityfree.com/t/sitecake-editor-admin-not-working/58935/19 "2022-03-10T10:40:55Z")

</div>

nice, I love 404 errors 🥺

---

<div class="post-metadata">

### Author: ![lovebug](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lovebug/32/57624_2.png) [@lovebug](https://forum.infinityfree.com/u/lovebug)
#### Post date: [March 10, 2022, 10:43am UTC](https://forum.infinityfree.com/t/sitecake-editor-admin-not-working/58935/20 "2022-03-10T10:43:12Z")

</div>

if youre getting a 404 then there really is something weird going on as it is loading for me even after clearing the cache except i still dont get the admin login

 ![image](https://forum-cdn.infinityfree.net/original/3X/f/5/f505e6695957c25a0ab5c51cca4bfe361c47c289.jpeg)

[Next page](https://forum.infinityfree.com/t/sitecake-editor-admin-not-working/58935.md?page=2)
