forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: tedfeely on March 29, 2006, 03:20:59 am

Title: 1.4.4 Batch upload problem - "Select directory" n "List of new" do not display
Post by: tedfeely on March 29, 2006, 03:20:59 am
Version 1.4.4 updated from 1.4.3 March 23, 2006

When I click on the Batch uploads option, the display of the "Select directory" window /  iframe does not look anything like the Help file / Manual documentation. Neither does the "List of new files" window / iframe. More significant, checkboxes are not placed in the tables.

Please ignore changes to style.css causing some gross changes to colors.

"List of new files" looks like this:

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.uccsunnyvale.org%2Fphotos%2Fimages%2Ftemp.jpg&hash=b23cd89c9e9c37276818770e68f734d4a68d53f4)


The html from the page:

Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
<title>Congregational Community Church of Sunnyvale: Click image to close this window</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="themes/uccsunnyvale/style.css" />
<script type="text/javascript" src="scripts.js"></script>
<script type="text/javascript">
function updateParent() {
    opener.document.choosefolder.startdir.value = document.childform.cf2.value;
    //window.self.close();
    return false;
}
</script>
</head>
<body class="tableb" scroll="auto" marginwidth="0" marginheight="0">

<form name="childform" id="childform" method="get" action="minibrowser.php" onsubmit="return updateParent();">


<!-- Start standard table -->
<table align="center" width="-2" cellspacing="1" cellpadding="0" class="maintable">
        <tr>
                <td class="tableh1" colspan="2">please select a directory</td>
        </tr>
<tr>
<td class="tableh2">
</td>
<td class="tableh2">
<input type="text" name="cf2" size="50" value="/home/virtual/site9/fst/var/www/html/photos/albums/uploads/" disabled="disabled" class="tableh2_compact" />&nbsp;
<a href="searchnew.php?startdir=uploads" class="admin_menu" target="_parent">OK</a>
</td>
</tr>
<tr>
<td class="tableb">
&nbsp;</td>
<td class="tableb">
<img src="images/spacer.gif" width="16" height="16" border="0" alt="" align="left" />
<a href="minibrowser.php?folder=%2Fhome%2Fvirtual%2Fsite9%2Ffst%2Fvar%2Fwww%2Fhtml%2Fphotos%2Falbums%2F&amp;parentform=choosefolder&amp;formelementname=startdir&amp;no_popup=1&amp;limitfolder=/home/virtual/site9/fst/var/www/html/photos/albums/&amp;hidefolders=.,..,CVS,edit,userpics&amp;linktarget=searchnew.php">
.. up one level</a>
</td>
</tr>
<tr>
<td class="tableb">
&nbsp;</td>
<td>
<img src="images/spacer.gif" width="10" height="15" border="0" alt="" align="left" />
AfterChurchShepherdHall.jpg
</td>
</tr>
<tr>
<td class="tableb">
&nbsp;</td>
<td class="tableb">
<img src="images/spacer.gif" width="10" height="15" border="0" alt="" align="left" />
BringingInCommunionTable.jpg
</td>
</tr>
<tr>
<td class="tableb">
&nbsp;</td>
<td class="tableb">
<img src="images/spacer.gif" width="10" height="15" border="0" alt="" align="left" />
choir.jpg
</td>
</tr>
<tr>
<td class="tableb">
&nbsp;</td>
<td class="tableb">
<img src="images/spacer.gif" width="10" height="15" border="0" alt="" align="left" />
com-table.jpg
</td>
</tr>
<tr>
<td class="tableb">
&nbsp;</td>
<td class="tableb">
<img src="images/spacer.gif" width="10" height="15" border="0" alt="" align="left" />
D-Berman-Hill-children.jpg
</td>
</tr>
<tr>
<td class="tableb">
&nbsp;</td>
<td class="tableb">
<img src="images/spacer.gif" width="10" height="15" border="0" alt="" align="left" />
D-Berman-Hill-singing.jpg
</td>
</tr>
<tr>
<td class="tableb">
&nbsp;</td>
<td class="tableb">
<img src="images/spacer.gif" width="10" height="15" border="0" alt="" align="left" />
GameNight01.jpg
</td>
</tr>
<tr>
<td class="tableb">
&nbsp;</td>
<td class="tableb">
<img src="images/spacer.gif" width="10" height="15" border="0" alt="" align="left" />
GameNIght03.jpg
</td>
</tr>
<tr>
<td class="tableb">
&nbsp;</td>
<td class="tableb">
<img src="images/spacer.gif" width="10" height="15" border="0" alt="" align="left" />
GameNight04.jpg
</td>
</tr>
<tr>
<td class="tableb">
&nbsp;</td>
<td class="tableb">
<img src="images/spacer.gif" width="10" height="15" border="0" alt="" align="left" />
GameNight05.jpg
</td>
</tr>
<tr>
<td class="tableb">
&nbsp;</td>
<td class="tableb">
<img src="images/spacer.gif" width="10" height="15" border="0" alt="" align="left" />
GameNight06.jpg
</td>
</tr>
<tr>
<td class="tableb">
&nbsp;</td>
<td class="tableb">
<img src="images/spacer.gif" width="10" height="15" border="0" alt="" align="left" />
GameNightStartswFood.jpg
</td>
</tr>
<tr>
<td class="tableb">
&nbsp;</td>
<td class="tableb">
<img src="images/spacer.gif" width="10" height="15" border="0" alt="" align="left" />
HabitatGardenandChurch.jpg
</td>
</tr>
<tr>
<td class="tableb">
&nbsp;</td>
<td class="tableb">
<img src="images/spacer.gif" width="10" height="15" border="0" alt="" align="left" />
HabitatQuilt.jpg
</td>
</tr>
<tr>
<td class="tableb">
&nbsp;</td>
<td class="tableb">
<img src="images/spacer.gif" width="10" height="15" border="0" alt="" align="left" />
pastorgen.jpg
</td>
</tr>
                        <input type="hidden" name="parentform" value="choosefolder" />
                        <input type="hidden" name="formelementname" value="startdir" />
</table>
<!-- End standard table -->
</form>
</body>
</html>

Any suggestions?

Thanks.
Title: Re: 1.4.4 Batch upload problem - "Select directory" n "List of new" do not displ
Post by: Joachim Müller on March 29, 2006, 07:47:13 am
Try clicking the "OK" button. If you want things to look exactly as in the docs, switch the batch-add interface from the "browsable" interface to the "classic" one. The browsable interface doesn't work on some Windows-driven servers. If this is the case for you, use the classic one, which should work on all servers.
Title: Re: 1.4.4 Batch upload problem - "Select directory" n "List of new" do not display
Post by: tedfeely on March 29, 2006, 07:55:52 am
When I click OK, I get this error:

Quote
Fatal error: Call to undefined function: get_batch_add_album_list() in /home/virtual/site9/fst/var/www/html/photos/searchnew.php on line 73

Title: Re: 1.4.4 Batch upload problem - "Select directory" n "List of new" do not displ
Post by: Joachim Müller on March 29, 2006, 07:57:51 am
re-upload a fresh copy of searchnew.php then.
Title: Re: 1.4.4 Batch upload problem - "Select directory" n "List of new" do not display
Post by: tedfeely on March 29, 2006, 11:13:11 pm
Still get the same result:

Code: [Select]
Fatal error: Call to undefined function: get_batch_add_album_list() in /home/virtual/site9/fst/var/www/html/photos/searchnew.php on line 73
In reviewing searchnew.php line 73, I note that it is looking for a value for $cpg_udb which I also see may be impacted by bridging.

Note: This site is bridged to SMF.
Title: Re: 1.4.4 Batch upload problem - "Select directory" n "List of new" do not displ
Post by: Nibbler on March 29, 2006, 11:36:21 pm
Verify you uploaded the new version of ./bridge/udb_base.inc.php when you made your update. Use versioncheck.php.
Title: Re: 1.4.4 Batch upload problem - "Select directory" n "List of new" do not display
Post by: tedfeely on March 30, 2006, 12:24:34 am
That did it!

Fixed.

My oversight.

Thank you for your prompt and helpful assistance.