Page 1 of 1

"404 Not Found" on subcategories

Posted: 08 Jul 2009, 04:06
by trinkel
I have added a large batch of images in a rather deep category tree to my site. Up to this point, everything has worked fine. The stuff that was already there still works fine.

I added this tree to the server by FTP, then used Multiple Add to get the structure into Phoca Gallery. There was a timeout error along the way and then some 500 PHP errors when I tried to work on the affected categories. I don't have the exact errors or circumstances for that part - my apologies.

Here's what's happening now: The images are creating thumbnails just fine, I can navigate through and work on the categories in administration. However, If I try to descend into the subcategories in the site itself, I get 404 Not Found errors with messages similar to: "The requested URL /joomla15/phoca-gallery-test/phoca-gallery-test/category/575-1.stcloud does not exist."

The address to get to this area of subcategories that don't work is: http://www.rochesterfsc.org/joomla15/ph ... termediate. All of the sub categories on this page except "RFSC_Show" have this problem.

I have tried deleting images and categories (without removing the images from the server) and doing the Multiple Add again. The category numbers change, but I still get the same error.

The other half of the website which does work is restricted access, but I don't have much in the way of users set up yet. I can set one up for you if you need to get in there.
  • Edit: I played some more with this and found that if I shut off SEF urls, the pages work. In summary, the first half of the gallery works with SEF urls and without. The added half described above works without SEF urls, but not when they are turned on.
Any ideas on how I can fix this?

Thanks,

Tim

Re: "404 Not Found" on subcategories

Posted: 08 Jul 2009, 10:23
by caro84g
Hi,

please remove the dot from the alias in the category name.

Regards, Carolien

Re: "404 Not Found" on subcategories

Posted: 08 Jul 2009, 14:27
by trinkel
Oh come on! That was way to easy.

Of course it worked. Thanks for the help. I really do appreciate it.

I have a few questions on importing and thumbnails, but I'll start a new thread for them.

Thanks again,

T.

Re: "404 Not Found" on subcategories

Posted: 08 Jul 2009, 14:55
by trinkel
Hi,

One more question on this. I removed the dot from the category alias, but there is still a dot in the directory name. I can get into the category in the front end, but if I try to view an image I get a "not found" error:
Warning: getimagesize(/home2/rochesu2/public_html/joomla15/images/phocagallery/Rhythm-N-Blades/2008-2009/Intermediate/1.stcloud/miszczyk/thumbs/phoca_thumb_l_2006_12_172008_1113_133926.JPG) [function.getimagesize]: failed to open stream: No such file or directory in /home2/rochesu2/public_html/joomla15/administrator/components/com_phocagallery/helpers/phocagallery.php on line 40
I'm assuming this is because it can't get past the dot in the directory name. If this is the case, is there a way to change the directory names without having to delete all the categories/images and run the Multiple Add again?

If that isn't the problem, any guess what is?

Thanks,

T.

Re: "404 Not Found" on subcategories

Posted: 08 Jul 2009, 14:59
by caro84g
Hi,

it probably is the dot and the only way to pass this is to manually edit the db tables (which is a possibility with PHPmyadmin).

Regards, Carolien