Pages (2): 1 2   
Member
Member
ayutheos   2006-01-11, 12:43
#1

Upgraded to 1.0b from 0.9b but the all the images and css style files are not loaded. What I'm getting is a barebone html file with text and empty image placeholders. The respective albums show up on the page, but without images and styling.

All links are broken e.g link to album is shown as
`http://index.php/?album=2005-12-06``

Same goes for all links (portion of source of loaded webpage)

``

[img]//zen/i.php?a=2005-12-06&i=IMG_6237.JPG&s=thumb[/img]

2005-12-06 `

Edited config.php as instructed, not using mod_rewrite. Admin page loads fine. Images in admin pages load fine.

Help!!!~~

Member
Member
peh   2006-01-11, 12:50
#2

For what it's worth... I have same problem.

Member
Member
legobuff   2006-01-11, 21:48
#3

I have the same problem... I do not know what the ultimate fix would be, but I did the following to get it to work for now.

in config.php I changed
$conf['mod_rewrite'] = true;
to
$conf['mod_rewrite'] = false;

I also added the following:
define('SERVERPATH', '[full path]/zenphoto');
define('WEBPATH', '/zenphoto');
define('SERVERCACHE', SERVERPATH . "/cache");
define('WEBCACHE', WEBPATH . "/cache");

and then in in my zenphoto directory, I renamed the .htaccess so that it no longer works.

now it at least works.

http://legobuff.com/zenphoto/

-Jamie

Member
Member
Chilifrei64   2006-01-11, 22:54
#4

I to ran into the same problem. I did what legobuff did and this worked for me.

http://beta.chilifrei.net/zenphoto1

Just a few things...
when logged in as admin and viewing the gallery.. you get script errors in IE.. not in firefox..

Really everything else works great.. My first install with .9 on IIS was troublesome.... this install was quick and clean.. the problem listed above was the only problem and it was easily fixed.. so far everything else works

Great job!!!

Member
Member
DarrellD   2006-01-12, 13:02
#5

Yep,

Ran into the same exact problem, but did what legobuff said above and it works great!

Member
Member
Aneesah   2006-01-12, 14:13
#6

I'm having the same problem, and already changed mod_rewrite to false.

But where exactly do I put in this?

define('SERVERPATH', '[full path]/zenphoto');
define('WEBPATH', '/zenphoto');
define('SERVERCACHE', SERVERPATH . "/cache");
define('WEBCACHE', WEBPATH . "/cache");

In config.php too?

Member
Member
Chilifrei64   2006-01-12, 15:00
#7

for me, I put it in the config.php right under where I set mod rewrite to false. Not sure if it makes to much of a difference "where you put it, as long as you dont tie it in with the actual code they got in there.

Member
Member
Aneesah   2006-01-12, 16:21
#8

I entered that bit in config.php but now it just says "Error: The 'albums' directory cannot be found or is not readable."

I just had to change "zenphoto" to what I named my zenphoto folder, right? Mine's "gallery".

Hmmm.

Member
Member
DarrellD   2006-01-12, 17:29
#9
  1. In config.php change the following line:
    $conf['mod_rewrite'] = true;
    to:
    $conf['mod_rewrite'] = false;

  2. Then, ANYWHERE in your config.php, copy and past the following:
    `define('SERVERPATH', '[full path]/zenphoto');

define('WEBPATH', '/zenphoto');

define('SERVERCACHE', SERVERPATH . "/cache");

define('WEBCACHE', WEBPATH . "/cache");`

  1. Where the above says, '[full path]/zenphoto' change this to the full path to the directory where you placed zenphoto. For example, my line would look something like:
    define('SERVERPATH', '/home/www/gamedudex/public_html/zp');

  2. Edit the next line to reference the [i][b]Web path[/b][/i] to the zenphoto directory. So continuing the example from above this would look something like the following for me:
    define('WEBPATH', '/zp');
    because the URL to the gallery would be http://www.gamedudex.com/zp

5)The next line would point to your cache directory (which should be inside your zenphoto directory), so if you have [i]not[/i] moved the location of your cache folder, you can leave the last two lines alone. If you [i]have[/i] moved them, make sure you change the last two lines to reflect those changes.

Developer
Developer
trisweb   2006-01-12, 22:31
#10

Sounds like the path resolution changes were not too good... sorry about that.

The fix GameDudeX posted should indeed work to set the paths manually, but that means you have to know what they are.

I'll definitely look into this problem before the final release.

Member
Member
Aneesah   2006-01-13, 08:15
#11

Thanks GameDudeX, now the gallery and album pages show up, but the individual photo pages are broken links. =/ And I'm not sure the URL is wrong, either, for instance http://aneesah.pixelled.com/gallery/index.php?album=photos&image=blown.jpg is the address for an image in the photos album, but I get the broken image icon.

Member
Member
snkhan   2006-01-14, 01:17
#12

Works beautifully, thanks! I had to make a slight alteration to i.php again, at line 88:

$fp=fopen($newfile,"w");fclose($fp);

Member
Member
snkhan   2006-01-14, 02:03
#13

Regular links on the page are now being tranformed from (example) friends.php :

http://www.thekhans.me.uk/friends/gallery/Shimla+Pinks/origami.php

Which subsequently yields 'image not found' error. Oddly enough, the source code reveals that the link is indeed friends.php - so I'm not sure why the browsers are loading another address.

Saj

Member
Member
icco   2006-01-16, 02:02
#14

I currently am having issues with this too. I just install version 1.01 and tried to fix the problem by adding the above, which got everything working except for images, which are still borked. Any suggestions?

Member
Member
Chilifrei64   2006-01-16, 03:13
#15

make sure the albums directory and cache directory are chmod 777

Member
Member
icco   2006-01-16, 04:11
#16

ya they are

edi: created new post for my problem
http://www.zenphoto.org/support/topic.php?id=233

Member
Member
Jan   2006-01-26, 19:18
#17

Any updates on this issue? Is there a fix on the way?

PS. Thanks for such a lovely gallery!

Member
Member
biffta   2006-01-26, 22:02
#18

I think there is a much easy way of fixing this issue that GameDudeX's solution and it allows you to keep MOD_REWRITE switched on.

I have posted this a few times already and it seemed to help people so I will post it again:

Keep the config.php file standard then edit the zen/functions.php file as follows


Member
Member
dansroka   2006-01-27, 20:42
#19

Thanks Biffta. That's a great fix to have!

Member
Member
Jan   2006-01-27, 23:25
#20

@Biffta: Thanks, got it to work now.

Pages (2): 1 2   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.