Jump to content


  • Content count

  • Joined

  • Last visited

  1. Hi, i have installed More pics 6 v1.3b (aka "More pics 6 v1.3b (clean & beauty)"), but i have some problems with my popup_image.... Everytime when i click on image, it open ok, but it doesn´t show the "next, previous and close buttoms. If maximinize the window, it show all buttoms, but when click the buttom, the next image is open and dont show buttoms again... I didn´t find any upgrade instruction about my version... I guess i need to uninstall it and install the 2.0.7 version, but SQL changes looks a bit different and probally i will have problem. Anyone know how i can fix this problem with next/previous/close buttoms? Or maybe tell me if is possible upgrade my version to another one... PS: Using oscommerce 2.2 RC2a Here is my popup_image.php: <?php /* $Id: popup_image.php,v MoPics 6 2003/06/05 23:26:23 Exp $ osCommerce, Open Source E-Commerce Solutions [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] Copyright © 2003 osCommerce Released under the GNU General Public License Updated by John Wood - www.z-is.net */ require('includes/application_top.php'); $navigation->remove_current_page(); $products_query = tep_db_query("select pd.products_name, p.products_image from " . TABLE_PRODUCTS . " p left join " . TABLE_PRODUCTS_DESCRIPTION . " pd on p.products_id = pd.products_id where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "' and pd.language_id = '" . (int)$languages_id . "'"); $products = tep_db_fetch_array($products_query); // BOF: More Pics 6 $PID = $HTTP_GET_VARS['pID']; $invis = $HTTP_GET_VARS['invis']; $result = mysql_query("select * from " . TABLE_PRODUCTS . " where products_id = '" . (int)$HTTP_GET_VARS['pID'] . "'"); // EOF: More Pics 6 ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo $products['products_name']; ?></title> <link type="text/css" rel="stylesheet" href="/css/stylesheet.css"> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <script language="javascript"><!-- var i=0; function resize() { <?php // BOF: More Pics 6 ?> if (document.layers) i=40; if (document.images[0]) window.resizeTo(document.images[0].width +45, document.images[0].height+135-i); <?php // EOF: More Pics 6 ?> self.focus(); } //--></script> <?php // BOF: More Pics 6 ?> <meta http-equiv="Page-Enter" content="blendTrans(Duration=0.5)"> <meta http-equiv="Page-Exit" content="blendTrans(Duration=0.5)"> <?php // EOF: More Pics 6 ?> </head> <body onLoad="resize();"> <p class="smallText" align="center" valign="bottom"> <?php // BOF: More Pics 6 ?> <table border="0" cellpadding="0" cellspacing="0" align="center" width="100%"> <?php // Lets find the last available image ! $image = tep_db_fetch_array($result); if ($image['products_subimage6'] != ''){ $last = '6'; }elseif ($image['products_subimage5'] != ''){ $last = '5'; }elseif ($image['products_subimage4'] != ''){ $last = '4'; }elseif ($image['products_subimage3'] != ''){ $last = '3'; }elseif ($image['products_subimage2'] != ''){ $last = '2'; }elseif ($image['products_subimage1'] != ''){ $last = '1'; }elseif ($image['products_image'] != ''){ $last = '0'; } $next = $invis + '1'; $back = $invis - '1'; ?> <?php if (($invis == '0') || ($invis == '')){ $insert = $image['products_image']; } else { $insert = $image['products_subimage' . $invis. '']; } $img = DIR_WS_IMAGES . $insert; echo '<tr width="100%"><td align="center">' .tep_image(DIR_WS_IMAGES . $insert) . '</td></tr>'; ?> </table> <table width="100%"> <?php if (($back != '-1') || ($next <= $last)) { echo '<hr color="#666666" size="3">'; } if ($back != '-1'){ echo '<td align="left" width="50%"><a href="'.tep_href_link('popup_image.php','pID='.$PID.'&invis='.$back).'">' . tep_image(DIR_WS_IMAGES.'left.gif', 'previous', '', '', 'border="0"') . '</a></td> '; } if ($next <= $last){ echo '<td align="left" width="50%"><a href="'.tep_href_link('popup_image.php','pID='.$PID.'&invis='. $next).'">' . tep_image(DIR_WS_IMAGES.'right.gif', 'next', '', '', 'border="0"') . '</a></td>'; } echo '<td align="right" width="50%"><a href="java script:window.close()">' . tep_image(DIR_WS_IMAGES.'close.gif', 'Close Window', '', '', 'border="0"') . '</a></td>'; echo ''; ?> </table> <?php // EOF: More Pics 6 ?> </body> </html> <?php require('includes/application_bottom.php'); ?>
  2. Hi, When i access www(dot)myshop.com/index.php?fwrtest=[w](o)%3Cr%3Ek|i*n^g i don´t get the message "working". When i access it I get redirected to my main page (index). Are this ok? the addon is set ON TRUE on admin. It is working? Thanks James
  3. Hi FWR Media, this error was showed when i was running the autoinstaller. After i placed the code on applicatrion_top.php and got another error, but in another line, i guess was 338 or 368, i don´t remember now.... Anyway, many thanks for information! Was what you said, just closed my browser and then worked ok, now i will test my payments modules, etc and if get problem i will post again. THANK YOU! :) Ah, about writting an installation instructions, if possible, will be very nice. I don´t know, but i´m little affraid running autoinstallers... i think is safer manually install due if you have a problem you can undo changes easy.. Best Regards James
  4. Hi FWR Media, i tried to install your addon but it failed. When i tried to run the SecurityPro_installer.php, i got this error message: "Fatal error: Call to a member function add_current_page() on a non-object in /home/mysite/public_html/includes/application_top.php on line 312" And now i can´t access my site, always say the same "fatal error"... Do you know what is? Any tips how to resolve? Here is the application_top.php: // navigation history if (tep_session_is_registered('navigation')) { if (PHP_VERSION < 4) { $broken_navigation = $navigation; $navigation = new navigationHistory; $navigation->unserialize($broken_navigation); } } else { tep_session_register('navigation'); $navigation = new navigationHistory; } $navigation->add_current_page(); Ah, if possible, in nexts updates, please write an "manual installation instructions". Autoinstallers really "sucks". Like my case, if was provided an manual installation instructions, i could "UN-install" it, but with autoinstaller i can´t do this. PS: Running on linux server, oscommerce RC2a Cheers James
  5. Mildway


    Hi Jack, unfortunately i don´t think is the "owner"... My files/directories are set owner/group myself (my login name in both). Directories /incluides/languages/MYLANGUAGES are all set correctly owner/group, with permission 755. The files at /incluides/languages/MYLANGUAGES/ are all with correct owner/group, with permission 644... So everytime i want to edit the text from files i need set permission on it for 777. Are you sure it´s not a security risk set all my files at /incluides/languages/MYLANGUAGES to 777? Thanks in advance. James
  6. Mildway


    Hi Jack, i´m having problems with your amazing contribution.. Every time i try to edit any file, i get a permission error like: "Error Permissions settings for /home/my_site.com/public_html/includes/languages/german/index.php will not allow editing. Please change the settings and try again." All my files are /incluides/languages/german, english and spanish are set permission 644. I can only edit the files if i change permissions for 777. All language directories (/incluides/languages/english, german, and spanish) are set permission 755. Any sugestions how to fix it? Cheers
  7. Hi Guys, my shop is working ok with this addon, but now i see that when i add more than 1 image to products, it show the "previous, next" only on Mozilla/Firefox, if open the product with more than one image using InternetExplorer, that "footer" with the buttoms of the new window image is now showed. Strange cause it is showed on firefox, but not on IE... any suggestions? Thanks
  8. Hi, forgot to say, i´m using v2.2 RC2a. Regards James
  9. Hi All, i have morepics v.1.3b installed on my shop and was working good for a good time, but now when i try to add ANY pic to a product (even if is the first, and also when i try add pic to a category), the picture doesn´t show... I select the pic when adding to a product but don´t work, the pic is not downloaded... It always show: "Warning: No file uploaded." I didn´t made any modifications on my shop, only added products, so i don´t know why is not working now :| Any ideia how to fix it? Thanks!