I installed this module, created an album.....and uploaded a picture.....but on the main page of the module, the picture is not shown....the same is un admin page....though the picture is uploaded correctly.....
what's wrong whith it?
In file uploading, there are too many environmental depandencies.
At first, show your environments (OS, httpd, php version), and show the result of module check.
And I have to say that I had never tested my modules with Windows Server.
O.k. I'll try to explain.
1. my system is:
Windows XP Professional, Apache 2 Server for Win, Php 4, and MySQL.
2. I've got Xoops 2.05
3. When I installed your module for the first time, everything worked perfectly....and I was glad......I had 250 pictures and photos.
4. Then my FAT32 system was damaged and I hade to recover the database of xoops.
5. After recovering:
Everything seemed working o.k., I mean xoops, except the module "mydownloads" and "Myalbum-P"...
The base had information about all the pictures, but they were not displayed....
6. I uninstalled the module, and installed it again.....but have the same bug......after uploading a picture I've got all information with blank square instead of the picture........
So, that's the problem.
P.S Sorry for my english......
so noone is gonna help me?
Quote:
I installed this module, created an album.....and uploaded a picture.....but on the main page of the module, the picture is not shown....the same is un admin page....though the picture is uploaded correctly.....
what's wrong whith it?
I have the same problem with version 2.0 ...
In fact, you could upload image but there is an error in
admin/admission.php ...
If you have modify the path for images, then the base path stil hard-coded in the file (lines 80 -> 92) :
while( list( $lid , $cid , $title , $submitter , $ext ) = $xoopsDB->fetchRow( $prs ) ) {
$oddeven = ( $oddeven == 'odd' ? 'even' : 'odd' ) ;
$title = $myts->makeTboxData4Edit( $title ) ;
$cat = $cattree->getNicePathFromId( $cid , "title", "../viewcat.php?" ) ;
echo "
<tr>
<td class='$oddeven'>".$xoopsUser->getUnameFromId($submitter)."</td>
<td class='$oddeven'><a href='../photos/{$lid}.{$ext}' target='_blank'>$title</a></td>
<td class='$oddeven'>$cat</td>
<td class='$oddeven'><input type='checkbox' name='ids[]' value='$lid'></td>
</tr>\n" ;
}
I don't search to change it and I will test for version 2.5
Ok, I changed to base configuration and now it's working ...
I will try again later.
Perhaps it was just a
Syntax Error