File Genie PHP Support Product Page

Solved

No files showing up on page

Reported 22 Nov 2012 22:46:26
1
has this problem
22 Nov 2012 22:46:26 Phil Boyle posted:
I have used filegenie 1.05 about 15 times to create photo galleries. I came to do one using version 1.06 for the first time and can't even get it to show anything on the page.

I have deleted wincahe file , tried reinstalling the extension. My last resort will be to reinstall the previous version.
The url for test page is here: hastingsbridge.org.nz/test.php
The code for the very basic test page is here:
<?php require_once('ScriptLibrary/incFileGenie.php'); ?>
<?php
// *** Folder List 1.06
$test = new fileGenie();
$test->path = "cms/photogallery/gallery/Test2";
$test->allowedExtensions = "GIF,JPG,JPEG,BMP,PNG";
$test->includeFolders = false;
$test->showThumbnailsOnly = true;
$test->thumbnailsSuffix = "thumb_";
$test->naming = "prefix";
$test->thumbPath = "cms/photogallery/gallery/Test2";
$test->processFolder("fileName", "ASC";
?>
<?php
// *** Folder List Repeater Vars 1.06
$test->setPageRecs(10);
?>
<body>
<h1>Test page</h1>
<h2>The folder content is supposed to go here</h2>


<?php
// *** Folder List Repeater Start
while ($test->canRepeat()) {
?>
<?php echo $test->folderList("path"; ?><?php echo $test->folderList("name"; ?><?php echo $test->folderList("size"; ?><?php echo $test->folderList("fileName"; ?><?php echo $test->folderList("extension"; ?>
<?php
$test->MoveNext();
}
$test->endRepeater();
// *** Folder List Repeater End
?>
<h3>These are the images in the folder put here by me</h3>

<img src="cms/photogallery/gallery/Test2/thumb_2.jpg" /><br/><br/>
<img src="cms/photogallery/gallery/Test2/thumb_DSC_2062.jpg" />



</body>

What am I missing? I'm supposed to be showing the client Monday.

Replies

Replied 25 Nov 2012 20:27:36
25 Nov 2012 20:27:36 Phil Boyle replied:
I have been talking to my hosting company and they dug out some old support tickets regarding this issue and they have said the answer is changing the websites running on php 5.3 to 5.2 and they soon won't be able to do this. This would also make sense on my testing server which has php5.3 and file genie no longer works.

Are you going to be upgrading file genie otherwise I'll have to look for a new way I set up my photo galleries.
Replied 26 Nov 2012 10:13:27
26 Nov 2012 10:13:27 Teodor Kuduschiev replied:
Can you please tell me what version of PHP are you using exactly?
Here on my local server i am using 5.3.9 and it is working just fine.
Replied 26 Nov 2012 20:14:21
26 Nov 2012 20:14:21 Phil Boyle replied:
Are you seeing the staic photos I put on the page using
<img src="cms/photogallery/gallery/Test2/thumb_2.jpg" />

or the ones showing through file genie?
Replied 26 Nov 2012 21:37:51
26 Nov 2012 21:37:51 Phil Boyle replied:
I just got it working. It is probably a dumb mistake on my part or I just hadn't noticed before. I didn't have a large version of my photos as well as thumbnails in the same folder so when I was trying to get it to display only thumbnails it wasn't displaying anything.

I've been using this extension for years and don't think it has happened before or is it only ver1.06

Reply to this topic