Forum

Current User: Guest Login Register
Please consider registering

Search 
Search Forums:


 




Problem with relative path

UserPost

23:59
7/1/2007


Jello

New Member

posts 1

1

I've seen other people post with what looked to be similar problems, and I think I've found a fix, so…

On my site (www.jell-o.net), I have wordpress installed in a separate directory ("/wordpress"), but set up to appear without needing the "/wordpress/" directory in the path.  (See http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory for more info).

Everything was working fine in Firefox, but for Internet Explorer, I was getting "Page Not Found" errors with the Photon photo gallery.  I realized that the problem was that photon was still appending "/wordpress/" into the path's that it was creating.  When I manually removed the extra directory in the path, IE worked fine.

I think the problem is/was in the definition of PHOTON_ROOT_PATH in photon.php.  I changed it from using get_bloginfo('wpurl') to get_bloginfo('url') and now all seems to be fine.  I don't know if I broke anything else, but haven't noticed anything yet.

Hopefully this doesn't break anything and other people can find it useful.

23:59
8/1/2007


Jillij

Admin

posts 322

2

I will look into that for a next version.
Thanks



Reply to Topic: Problem with relative path

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 2 + 3        (Required)

Topic Reply:


 

About the All is in the title forum

Currently Online:

3 Guests

Maximum Online: 73

Forums:

Groups: 4

Forums: 15

Topics: 278

Posts: 1164

Members:

There are 189 members

There are 96 guests


Jillij has made 322 posts

Top Posters:

Mael - 29

John - 24

Okaryn - 21

zoom.photos - 18

dröne - 14

Administrator: Jillij | Moderators: Jillij


© Simple:Press Forum - Version 3.1.2 (Build 340)  

Tags:

Comments are closed.