Install: no content outside Main

ikarus / 2009-08-02 23:09:43   

Hey all,

I'm having trouble installing indexhibit for a friend (though it worked like a charm on MAMP). The site is here:
http://whitecollar.ro/portfolio/

So basically, nothing but the Main page works properly. The first odd thing I noticed during the install was that the "Login first time" link was pointing to install.php.

Any clues what might be wrong?

Cheers,
i

iwakami / 2009-08-03 12:49:26   

hum... difficult to see at this distance from the details. the ftp uploading is not always successful and some files might get corrupted. if you can, re-upload and re-install it (delete database too).

ikarus / 2009-08-03 12:59:38   

Thanks.

(Clean) Reinstalled twice. Downloaded the site and did a diff on it and my MAMP (XAMP for Mac) indexhibit. Only conf.php and .htacces were different.

  1. If you go to the <a href="http://whitecollar.ro/portfolio/index.php?/about-this-site/">About Page</a>, view the source, you'll see the css stylesheet link is skewed:
  2. http://whitecollar.ro/<strong>portfolio/</strong>index.php<strong>/portfolio/</strong>ndxz-studio/site/eatock/style.css

Tried a few .htacces fixes, none worked. It seems somehow Rewrite isn't working (at all). Btw, clean-urls are disabled. Could this be the host messing with me?

I've seen some posts mentioning a lack-of-css problem (seems similar to this), but didn't find any solutions. Any tips in this direction?

ikarus / 2009-08-07 13:32:37   

Bump

If you go to the About Page , view the source, you'll see the css stylesheet link is skewed (http://whitecollar.ro/portfolio/index.php/portfolio/ndxz-studio/site/eatock/style.css)

Vaska A / 2009-08-07 13:36:32   

This is probably the fourth time I've seen this in 2.5 years...your host has an odd setup that is casuing the path to show up improperly. I don't really have a solution for this...

ikarus / 2009-08-07 13:50:40   

thanks

I was hoping there was a hack possible. I've already sent an email to my host, asking about RewriteBase in htacces/apache and mod_rewrite in php server. Any other reasons there might be for this oddity?

I'll also try installing in the root directory, maybe that helps.

Vaska A / 2009-08-07 14:03:09   

I don't see this as a modrewrite issue. Somewhere around here there is a thread regarding a host called OVH and it has a possible hack/adjustment to make it work. I can't find the thread though...and I'm off to do other things now.

;)

ikarus / 2009-08-08 10:50:03   

Darn, was hoping it was somebody elses fault ;) :P

So, I've hardcoded the $baseurl (in defaults.php), which fixed the filepaths and URIs.

For some strange reason, the only content that is displayed is the main page. Reverted to original files, to no avail.

ikarus / 2009-08-08 11:01:16   
  1. Btw, also tried changing <em>$base</em>
  2. $base = 'http://' . $_SERVER['HTTP_HOST'] . '/';
  3. But this screws with my links, and reverts to the root site. It outputs <em>$baseurl</em> as http://whitecollar.ro (without "/portofolio").
ikarus / 2009-08-08 13:07:15   

Well, that one seemed to work for the root site :D.

Thanks Vaska

btw, code tags are dangerous

This thread has been closed, thank you.