Clan Adverts

www.afgserv.com

www.clan-themes.co.uk :: View topic - Theme Wont Show On Local Host

 Welcome To Clan Themes 

As the board grows please remember the Search Option and we hope you find our community useful.

We also monitor Private Messages to stop members from abusing our sites system.
If you are asking for assistance please provide your site link and nuke version, Thanks.

Theme Wont Show On Local Host

7 Replies / 929 Views


Post new topic   Reply to topic  

   www.clan-themes.co.uk Forum Index » Website Issues

View previous topic :: View next topic


sushi
Reputation: 463.9
Local time: 9:30 AM

blank.gif

Status: Offline
0.01 posts per day
Medals: 0

Joined: Mar 24, 2007
Last Visit: 28 Jan 2008
Posts: 5
Points: 723 

Post Theme Wont Show On Local Host Posted: Thu Jan 24, 2008 4:30 am   

Shop Purchases:
Counter Strike (Sabre) Theme

I have the Sabre CSS theme I purchased about a year ago. I had never wored with PHP before and struggled to get this theme to work on the original install. I finally did figure it out and all looks and worked fine. You can see the website at http://noobstf2.com

Now this website is going down in 2 days and my members will be lost without it. I have purchased my own machine to host games and websites on, running windows server 2003.

It was a challenge getting Apache, PHP, and Mysql installed and talking to each other. I also installed phpmyadmin on both the old and new sites.

I was able to recreate the database in the new site and everything seems to be working.

The only problem I am having is getting the clan-themes CSS skin to work. You can see the new site at http://noobscss.com

I have copied the old website and made a mirror of it on the new website. I thought since it was using the same database, it would be just that easy.

It isn't. For the life of me, I cannot get the clan themes to work. I have the original 2 zip files I received when I purchased it and I have failed trying to load it in to make it work. Every website says just put the theme in the forums/template folder and just use the admin CP to install it. No matter what I do, there is nothing to install. If I try to select the CSS theme in my configuration, my website goes blank. It's obviously not installed correctly.

Some of these files are pretty easy to figure out where they go, others are not so easy to figure out. For instance, the files in the "contrib"

The instructions were vague from clanthemes "Pretty straightforward" is all it said.

I'm not completely puter challenged, but these themes just don't seem to be very straightforward to me.

Can anyone help? I can tell you the files and folders I have and someone tell me where they go?

Sushi!
 

 
View user's profileSend private messageVisit poster's website Reply with quote

Ped
Reputation: 336.9
votes: 17
Local time: 6:30 PM
Location: Great British Empire
uk.gif

Status: Offline
2.36 posts per day
Medals: 2 (View more...)
Forums MoD (Amount: 1)
Clan Themes Theme Guru
Clan Themes Theme Guru
Joined: Nov 13, 2006
Last Visit: 01 Dec 2008
Posts: 1765
Points: 15734 

Post Re: Help with theme Posted: Thu Jan 24, 2008 2:53 pm   

It is extreamly simple all you need to do is place the "images" folder inside the theme folder and upload the theme (sabre) to the theme folder

go to your admin prefences and activate it, there is no install file or theme control panel with this theme, so in all there is 3 simple steps to install this theme.

1) move the images folder
2) upload it to your themes folder
3) activate it from your admin prefrences

if you get stuck follow this http://www.clan-themes.co.uk/modules.php?name=Extras&file=theme_instructions
 

 
View user's profileSend private messageSend e-mailVisit poster's website Reply with quote

sushi
Reputation: 463.9
Local time: 9:30 AM

blank.gif

Status: Offline
0.01 posts per day
Medals: 0

Joined: Mar 24, 2007
Last Visit: 28 Jan 2008
Posts: 5
Points: 723 

Post Help with theme Posted: Sun Jan 27, 2008 7:28 am   

Shop Purchases:
Counter Strike (Sabre) Theme

PED, I appreciate your response, and you are right, it works....except on my site.

Here's what I did.

I took yet another website and installed PHP. This was on a hosted service, and I all had to do was put the raw PHP files and folders in there and go to my http://mywebsite.com/install/index.html

With this install, I used a Mysql db name and password. After it was installed. I took my CSS folder, just like the instructions said, and put it on my theme folder. I then went to my http://mywebsite/admin.php login and went to my preferneces. I selected CSS and POOF! There was the theme. Rock on!

However, I am trying to put this on my machine, where I am the host. I installed Apache, then Mysql, then PHP. in my website root folder. I put the same php files and installed from scratched. Just as I did above, I even used the same files source. After I got it installed, I placed the exact same CSS folder in the same theme folder and everything is identical to the above,.

The difference is, on my machine, after making a preference change to CSS, the site goes blank. It's not just missing the images like your install page shows, I mean it's blank. If I check my page source, it's also blank. The only way I can get my site working again is to remane my CSS forlder to DeepBlue, and my DeepBlue folder to CSS. Then I can see my admin menu again and swap everything back.

My problem appears to be something with that theme is using .js. It's the nly differnece I see between the installed themes, and my purchased CSS theme.

I have checked the apache config to see if I need to enable javascripts. I found nothing. I also looked at my php files and found nothing. I am also guessing that it is even a .js related issue

This is really bugging me, and after all I have done and all I have learned, I am so close to having my website back up with the proper skin.

Is there anything you can offer me to help?

What makes your CSS theme so much different from any other theme?

Sushi!
 

 
View user's profileSend private messageVisit poster's website Reply with quote




Ped
Reputation: 336.9
votes: 17
Local time: 6:30 PM
Location: Great British Empire
uk.gif

Status: Offline
2.36 posts per day
Medals: 2 (View more...)
Dedicated User (Amount: 1)
Clan Themes Theme Guru
Clan Themes Theme Guru
Joined: Nov 13, 2006
Last Visit: 01 Dec 2008
Posts: 1765
Points: 15734 

Post Re: Help with theme Posted: Sun Jan 27, 2008 10:07 am   

There is no difference between mine and any other theme, it wont be the .JS

Can you open up your config.php

FIND
Code:

$display_errors = FALSE;


REPLACE WITH
Code:

$display_errors = TRUE;


then run the theme again and tell us what error messages you get, I make theme themes on my local host so something with your set is not right, by the sounds of things
 

 
View user's profileSend private messageSend e-mailVisit poster's website Reply with quote

sushi
Reputation: 463.9
Local time: 9:30 AM

blank.gif

Status: Offline
0.01 posts per day
Medals: 0

Joined: Mar 24, 2007
Last Visit: 28 Jan 2008
Posts: 5
Points: 723 

Post Help with theme Posted: Sun Jan 27, 2008 10:24 am   

Shop Purchases:
Counter Strike (Sabre) Theme

as soon as I select the CSS theme, I get this error..

Parse error: syntax error, unexpected $end in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\themes\CSS\tables.php on line 89

Hopefully this makes sense to you!

Thanks for your help,

Sushi!
 

 
View user's profileSend private messageVisit poster's website Reply with quote

Ped
Reputation: 336.9
votes: 17
Local time: 6:30 PM
Location: Great British Empire
uk.gif

Status: Offline
2.36 posts per day
Medals: 2 (View more...)
Forums MoD (Amount: 1)
Clan Themes Theme Guru
Clan Themes Theme Guru
Joined: Nov 13, 2006
Last Visit: 01 Dec 2008
Posts: 1765
Points: 15734 

Post Re: Help with theme Posted: Sun Jan 27, 2008 3:50 pm   

None what so ever im afraid, as there isnt a line 89 in the tables.php

Dont know what else to say/do it works on my local fine and it works on your website, not unless anyone else might know why its doing this on your local. Dont Know
 

 
View user's profileSend private messageSend e-mailVisit poster's website Reply with quote




sushi
Reputation: 463.9
Local time: 9:30 AM

blank.gif

Status: Offline
0.01 posts per day
Medals: 0

Joined: Mar 24, 2007
Last Visit: 28 Jan 2008
Posts: 5
Points: 723 

Post Help with theme Posted: Mon Jan 28, 2008 12:41 am   

Shop Purchases:
Counter Strike (Sabre) Theme

I found it!!

Somehow my php.ini on my new host server was set incorrectly.

short_open_tag = Off

I changed to ON and now the theme works great!

For those that don't know, the short_open_tag is the <? to open and ?> to close.

That's why it got an unexpected $end error at a line that didn't exist!! It basically got to the end and didn't see anything it accepted as an acceptable "end" so it failed.

I appreciate your help, and hope this helps someone else down the line. I have no idea how that file got changed and how I didn't catch it.

Sushi!
 

 
View user's profileSend private messageVisit poster's website Reply with quote

Ped
Reputation: 336.9
votes: 17
Local time: 6:30 PM
Location: Great British Empire
uk.gif

Status: Offline
2.36 posts per day
Medals: 2 (View more...)
Forums MoD (Amount: 1)
Clan Themes Theme Guru
Clan Themes Theme Guru
Joined: Nov 13, 2006
Last Visit: 01 Dec 2008
Posts: 1765
Points: 15734 

View user's profileSend private messageSend e-mailVisit poster's website Reply with quote
Post new topic   Reply to topic  
   www.clan-themes.co.uk Forum Index » Website Issues


 
7 Replies / 929 Views
Page 1 of 1
All times are GMT
Display posts from previous:   
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum