English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottomPage: 12
TOPIC: A slight Theme-problem
*
#4170
A slight Theme-problem 14 Years, 7 Months ago Karma: 0
Hi!
I have created a master and a few slave sites. But they have all had the same theme and now I am working on a whole new slave site with a different theme. At first it didn't work at all, and now after I added:

/storage/content/88/102988/master.com/public_html/slavesitename/templates

in the "New Themes folder:" field on the master the new theme does show up when I load the slavesite, BUT, no graphics load only plain black text on a white background. Including the name of the theme and author.... MON DIEU!

What did I do wrong exactly?
elmaco
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4173
Re: A slight Theme-problem 14 Years, 7 Months ago Karma: 54
Blank page is the symptom of a PHP syntax error.
Check if you have a "error_log" file that would give you the file source and line that cause the error.
Perhaps this will help you identify what you did wrong.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4191
Re: A slight Theme-problem 14 Years, 7 Months ago Karma: 0
I don't appear to have any error_log so I still have no idea why that happens.

I did sort of fix it by installing the theme on both the slave AND the master. But I found out that both the CSS and the Images in the slave template folders aren't necessary. Only the folders themselves seem to be necessary apparently.

When I browse through the template folder on the slave site there aren't any symbolic links to the master's template folder. Which I noticed you have in your tutorial. That might be part of the problem.

Installing themes should NOT have to be done on both master and slave, correct??
elmaco
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4197
Re: A slight Theme-problem 14 Years, 7 Months ago Karma: 54
If you have create a specific templates directory, this is you that have to maintain the contain of each subdirectories. JMS does not perform syncrhonisation.
If you have create a "templates" directory as a link on the master, by definitiion, this is the same directory.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4367
Re:A slight Theme-problem 14 Years, 6 Months ago Karma: 0
I sort of fixed it by having two template folders. One on the master "xyz.com/public_html/templates" and one on the slave "xyz.com/public_html/SLAVE/templates". Still haven't got a clue how to create a "templates directory as a link on the master" - which you mentioned.

The template/theme for the wbsite works, but I still can't load images. For example when I create a new article and I click on "Insert Image" only a few image thumbnails are actually visible, the rest are just small blue icons with a white "?" sign.

For the images to actually work I have to manually change the html image path, by adding the slave site name. Example:

<img alt="101" src="images/stories/101.jpg" width="400" height="600" />

this results in 101 appearing in the article, but no image. and if I add the name:

<img alt="101" src="SlaveName/images/stories/101.jpg" width="400" height="600" /></p>

the image becomes visible.

I can also bypass this problem by writing in the full URL like you have mentioned before on the forum.
www.xyz.com/SlaveName/images/stories/101.jpg

I thought I had fixed all this yesterday when I in **Website template Details** on the master changed **Specific slave site folders**:


Master site folder: /storage/content/11/101101/xyz.com/public_html

Deployment folder: /storage/content/11/101101/xyz.com/public_html/SlaveName

Create the deployed folder: CHECKED

Alias link: *empty*

Path to Media folder: /storage/content/11/101101/xyz.com/public_html/SlaveName/images

Path to Image folder: /storage/content/11/101101/xyz.com/public_html/SlaveName/images

Templates (themes) folder: /storage/content/11/101101/xyz.com/public_html/SlaveName/templates


That's under "common". Under "Folders and files" the slave is marked with "SL: Symbolic Link".
images: special: Special copy
media: SL: Symbolic Link
hello.php: SL: Symbolic Link
and I have tested the hello world and it works on both the master and slave:
www.xyz.com/hello.php and SlaveName.xyz.com/hello.php

What do I do??
Do you need more information or screenshots?
elmaco
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4375
Re:A slight Theme-problem 14 Years, 6 Months ago Karma: 54
I see that you have tried to put a specific "image folder" to provide a specific path.
Unfortunatelly, most of the extension, does not read the "Global Configuration" medial setting to retreive the image folder thatn have hardcoded the "/images" directory name.

So if you want to have a specific "/images" directory for each slave site you should replace action on "images" directory from "special copy" to "copy".
For the moment, it seems that you have a Symbolic Link created on the "/images" directory.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla