It is currently Fri Sep 05, 2008 4:42 pm

RESOLVED: Missing images and css after installing paying client's website

Need help installing Joomla!? For all Joomla! installation issues please use this forum.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.

RESOLVED: Missing images and css after installing paying client's website

Postby Thorned Rose on Tue Mar 20, 2007 9:30 pm

I posted this last night but for some reason that post (and another of mine from a while back has disappeared) but anyways....

I uploaded Joomla and went through the install. Three red flags showed up, two of which I ignored because they come up on just about every site I do and don't affect the end product in any way but one of which was Safe Mode: ON. Even so I don't think that this is causing the problem.

I continued with the installation and all seemed successful until I tried to view the site which was missing all images (not even a red x where they should be) and there seemed to be no css styling. I log into the admin, css seems to be fine but the menu images are missing (just the alt text where they should be) and the main admin menu across the top (e.g. home, site, components etc) is completely missing.

I thought it might be a path problem as during the installation it came up with http://www.malcolmdesign.co.nz as the address but that is for the site that is currently on a Windows server where as this installation is on a Linux server and has the URL http://malcolmdesign.co.nz.customer.onesquared.net. I tried changing the configuration.php to the correct url (in several different ways) but after doing that I get a blank page (both front and backend) with a php error that says there's something missing on line 71 of includes/joomla.php (sorry I don't remember what exactly).

Somebody please help asap. My deadline was yesterday and this is a serious setback. Any help is much appreciated!
Last edited by Thorned Rose on Wed Mar 21, 2007 11:51 pm, edited 1 time in total.
No I am not a hobbit. Nor do I know any hobbits or consort with any. And no, I do not own any sheep, know any sheep or consort with any sheep.
User avatar
Thorned Rose
Joomla! Apprentice
Joomla! Apprentice
 
Posts: 27
Joined: Tue Feb 20, 2007 1:17 am
Location: New Zealand

Re: Missing images and css after installing paying client's website (deadline's

Postby brian on Tue Mar 20, 2007 9:39 pm

Thorned Rose wrote:I posted this last night but for some reason that post (and another of mine from a while back has disappeared) but anyways....

http://dev.joomla.org/component/option, ... ,33/p,296/

I uploaded Joomla and went through the install. Three red flags showed up, two of which I ignored because they come up on just about every site I do and don't affect the end product in any way but one of which was Safe Mode: ON. Even so I don't think that this is causing the problem.

I continued with the installation and all seemed successful until I tried to view the site which was missing all images (not even a red x where they should be) and there seemed to be no css styling. I log into the admin, css seems to be fine but the menu images are missing (just the alt text where they should be) and the main admin menu across the top (e.g. home, site, components etc) is completely missing.

I thought it might be a path problem as during the installation it came up with http://www.malcolmdesign.co.nz as the address but that is for the site that is currently on a Windows server where as this installation is on a Linux server and has the URL http://malcolmdesign.co.nz.customer.onesquared.net. I tried changing the configuration.php to the correct url (in several different ways) but after doing that I get a blank page (both front and backend) with a php error that says there's something missing on line 71 of includes/joomla.php (sorry I don't remember what exactly).

Somebody please help asap. My deadline was yesterday and this is a serious setback. Any help is much appreciated!


the config file should have the domain name and absalutepath to match the install ie malcolmdesign.co.nz.customer.onesquared.net

Check for any blank lines at the end of the file they cause problems
brian
I've been banned!
 
Posts: 4763
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK

Re: Missing images and css after installing paying client's website (deadline's

Postby Thorned Rose on Wed Mar 21, 2007 1:08 am

brian wrote:the config file should have the domain name and absalutepath to match the install ie malcolmdesign.co.nz.customer.onesquared.net

Check for any blank lines at the end of the file they cause problems


Ok, I tried a new installation setting the domain and path as malcolmdesign.co.nz.customer.onesquared.net but all I get is an error:

Fatal error: Failed opening required 'malcolmdesign.co.nz.customer.onesquared.net/includes/version.php' (include_path='.:/usr/share/pear') in /var/www/malcolmdesign.co.nz/includes/joomla.php on line 71

No matter how I put the address in the absolute path (malcolmdesign.co.nz.customer.onesquared.net, var/malcolmdesign.co.nz.customer.onesquared.net, var/www/malcolmdesign.co.nz.customer.onesquared.net, home/malcolmdesign.co.nz.customer.onesquared.net etc) I get the same kind of errors.

Looking at the config file after the install the relevant code looks like:
Code: Select all
$mosConfig_absolute_path = 'malcolmdesign.co.nz.customer.onesquared.net';
$mosConfig_live_site = 'http://malcolmdesign.co.nz.customer.onesquared.net';
$mosConfig_sitename = 'Malcolm Design Ltd';


And there's no blank lines at the end of the file  ???

If I leave the installation at the default(http://www.malcolmdesign.co.nz and var/www/malcolmdesign.co.nz) and go ahead with it, at the end of the installation when it confirms everything, if I click on "View Site" it tries to take me to the site that is on the Windows server (http://malcolmdesign.co.nz/index.php). The same with clicking on "Administration" (http://malcolmdesign.co.nz/administrator/index.php). If I manually go to http://malcolmdesign.co.nz.customer.one ... /index.php it comes up but with, as I said, no images etc. Below is what the frontend and backend look like:

Image

Image

I'm at a complete loss as to what to do :(
Last edited by Thorned Rose on Wed Mar 21, 2007 2:07 am, edited 1 time in total.
No I am not a hobbit. Nor do I know any hobbits or consort with any. And no, I do not own any sheep, know any sheep or consort with any sheep.
User avatar
Thorned Rose
Joomla! Apprentice
Joomla! Apprentice
 
Posts: 27
Joined: Tue Feb 20, 2007 1:17 am
Location: New Zealand

Re: Missing images and css after installing paying client's website (deadline's

Postby brian on Wed Mar 21, 2007 11:33 am

you have got the absolute path wrong but wthout direct access to the server i cant help further.
brian
I've been banned!
 
Posts: 4763
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK

Re: Missing images and css after installing paying client's website (deadline's

Postby JimDrury on Wed Mar 21, 2007 1:20 pm

I had this same problem, just fixed it like a minute ago.

i have joomla installed to localhost/genericware so i changed my $mosConfig_live_site to be

$mosConfig_live_site = 'http://'.$_SERVER['HTTP_HOST'].'/genericware';

and it worked,
JimDrury
Joomla! Fledgling
Joomla! Fledgling
 
Posts: 1
Joined: Wed Mar 21, 2007 1:17 pm

Re: Missing images and css after installing paying client's website (deadline's

Postby Thorned Rose on Wed Mar 21, 2007 9:57 pm

Jim,

Could you apply that to my code. I'm not sure exactly how I'm supposed to change it.
The site on the windows server is http://www.malcolmdesign.co.nz
The site I am currently trying to get working is on a linux server at http://malcolmdesign.co.nz.customer.onesquared.net

What do I put as the absolute path and do I put the live site as '.$_SERVER['HTTP_HOST'].'/malcolmdesign.co.nz.customer.onesquared.net' or '.$_SERVER['HTTP_HOST'].'/malcolmdesign.co.nz.' ???

Thanks!
No I am not a hobbit. Nor do I know any hobbits or consort with any. And no, I do not own any sheep, know any sheep or consort with any sheep.
User avatar
Thorned Rose
Joomla! Apprentice
Joomla! Apprentice
 
Posts: 27
Joined: Tue Feb 20, 2007 1:17 am
Location: New Zealand

Re: Missing images and css after installing paying client's website (deadline's

Postby Jenny on Wed Mar 21, 2007 10:07 pm

Your absolute path should read to be the way to your directory on your webhost:
Code: Select all
$mosConfig_absolute_path = '/home/yourhostingusername/public_html';


Look that this one is right also:
Code: Select all
$mosConfig_cachepath = '/home/yourhostingusername/public_html/cache';


And this one should be your actual web address:
Code: Select all
$mosConfig_live_site = 'http://www.yoursitename.com';
The fires of evil are fueled by gossip, ill placed hate and fear.
Only compassion, sympathy and empathy can save us.

http://www.oddsheepout.com http://www.jennifermarriott.com
Women JOOMLA! Too JOOMLA ROCKS
User avatar
Jenny
Joomla! Champion
Joomla! Champion
 
Posts: 6299
Joined: Sun Aug 21, 2005 2:25 pm
Location: Somewhere Near Here

Re: Missing images and css after installing paying client's website (deadline's

Postby Thorned Rose on Wed Mar 21, 2007 10:41 pm

Changing it to what you suggest gives me this error:


Warning: Unable to access /home/malcolmdesign/public_html/includes/version.php in /var/www/malcolmdesign.co.nz/includes/joomla.php on line 71

Fatal error: Failed opening required '/home/malcolmdesign/public_html/includes/version.php' (include_path='.:/usr/share/pear') in /var/www/malcolmdesign.co.nz/includes/joomla.php on line 71 :(

Is it possible to change the absolute path to an ip address?
No I am not a hobbit. Nor do I know any hobbits or consort with any. And no, I do not own any sheep, know any sheep or consort with any sheep.
User avatar
Thorned Rose
Joomla! Apprentice
Joomla! Apprentice
 
Posts: 27
Joined: Tue Feb 20, 2007 1:17 am
Location: New Zealand

Re: Missing images and css after installing paying client's website (deadline's

Postby Jenny on Wed Mar 21, 2007 10:48 pm

You need to ask your hosting company what the path is to your home directory.  It may not be "home".
The fires of evil are fueled by gossip, ill placed hate and fear.
Only compassion, sympathy and empathy can save us.

http://www.oddsheepout.com http://www.jennifermarriott.com
Women JOOMLA! Too JOOMLA ROCKS
User avatar
Jenny
Joomla! Champion
Joomla! Champion
 
Posts: 6299
Joined: Sun Aug 21, 2005 2:25 pm
Location: Somewhere Near Here

Re: Missing images and css after installing paying client's website (deadline's

Postby brian on Wed Mar 21, 2007 10:49 pm

absolute path is the physical location of the files on the servers hard drive and is a local location not one related to a domain name or ip address

why dont you ask the server admin what the absolute path is?
brian
I've been banned!
 
Posts: 4763
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK

Re: Missing images and css after installing paying client's website (deadline's

Postby Thorned Rose on Wed Mar 21, 2007 10:54 pm

About to do that now.  :pop
No I am not a hobbit. Nor do I know any hobbits or consort with any. And no, I do not own any sheep, know any sheep or consort with any sheep.
User avatar
Thorned Rose
Joomla! Apprentice
Joomla! Apprentice
 
Posts: 27
Joined: Tue Feb 20, 2007 1:17 am
Location: New Zealand

Re: Missing images and css after installing paying client's website (deadline's

Postby brian on Wed Mar 21, 2007 10:56 pm

Of course if you had done that days ago.....
brian
I've been banned!
 
Posts: 4763
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK

Re: Missing images and css after installing paying client's website (deadline's

Postby Thorned Rose on Wed Mar 21, 2007 11:50 pm

Update: I talked to the host and they gave me the same absolute path that I have already been using *BUT* for some gods-only-knows reason it is now working.  ??? YAY!  :D

Thanks everyone for your help! :)
No I am not a hobbit. Nor do I know any hobbits or consort with any. And no, I do not own any sheep, know any sheep or consort with any sheep.
User avatar
Thorned Rose
Joomla! Apprentice
Joomla! Apprentice
 
Posts: 27
Joined: Tue Feb 20, 2007 1:17 am
Location: New Zealand

Re: RESOLVED: Missing images and css after installing paying client's website

Postby brian on Thu Mar 22, 2007 12:10 am

Glad its working for you and your "paying" client will now be happy. Perhaps you should consider making a donation to joomla for all the free technical support you have recieved here  :pop
brian
I've been banned!
 
Posts: 4763
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK

Re: RESOLVED: Missing images and css after installing paying client's website

Postby Thorned Rose on Thu Mar 22, 2007 12:27 am

After I have to pay GST, Income Tax, Student Loan etc I'm not sure how much of the $100 they are paying me is going to left (and no I am not kidding).
At the moment we are trying to get a mortgage (our landlords are selling our house) but because I have M.E. and I'm on Invalid's Benefit, banks aren't much interested in being forthcoming so I have started up a Web and Graphics design business. This is my first customer and at this stage it is more important to have a decent customer base and portfolio which is why it's only $100.
But if I have *something* left after the government is finished rifling through my money and I'm able to borrow my mother's credit card (we don't have a c/c or a paypal account) I will do my best to send some money to support what is clearly a very awesome piece of coding!

Thanks again guys and thanks to the Joomla team who have done an absolutely phenomenal job. I am a true Joomla convert! :)
No I am not a hobbit. Nor do I know any hobbits or consort with any. And no, I do not own any sheep, know any sheep or consort with any sheep.
User avatar
Thorned Rose
Joomla! Apprentice
Joomla! Apprentice
 
Posts: 27
Joined: Tue Feb 20, 2007 1:17 am
Location: New Zealand

Re: RESOLVED: Missing images and css after installing paying client's website

Postby Jenny on Thu Mar 22, 2007 2:56 am

Glad it is all sorted for you.  We're all here for you when you need help with your Joomla! Don't hesitate to ask. :)
The fires of evil are fueled by gossip, ill placed hate and fear.
Only compassion, sympathy and empathy can save us.

http://www.oddsheepout.com http://www.jennifermarriott.com
Women JOOMLA! Too JOOMLA ROCKS
User avatar
Jenny
Joomla! Champion
Joomla! Champion
 
Posts: 6299
Joined: Sun Aug 21, 2005 2:25 pm
Location: Somewhere Near Here


Return to Installation - 1.0.x

Who is online

Users browsing this forum: No registered users and 9 guests