241 Posted April 30, 2004 Share Posted April 30, 2004 I believe that the issue of the currency update is due to a setting in your php: allow_url_fopen off I simulated this on my setup which has it set to on and the currencies updated however when I set it to off they would not update and I got errors, so you need to see if we can have this changed in your php.ini No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
241 Posted April 30, 2004 Author Share Posted April 30, 2004 has anyone found this post of informative value No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
austin Posted April 30, 2004 Share Posted April 30, 2004 Hi 241, must say you got me excited there - This has been doing my head in and I'm facing a brick wall (have been 4 days). many thanks for putting the effort in anyway but unfortunately mine is turned on - nice try though. anyway, I've been through all my setup and come to the conclusion it must be something to do with php and I didn't change anything 2 cause this in my file setup - my host migrated servers last week so I'm sure something went wrong - I've detailed my php config below - do you think line5 (always_populate_raw_post_data Off Off) could be causing a problem) cheers 4 trying anyway PHP Configuration PHP Core Directive Local Value Master Value allow_call_time_pass_reference Off Off allow_url_fopen On On always_populate_raw_post_data Off Off arg_separator.input & & arg_separator.output & & asp_tags Off Off auto_append_file no value no value auto_prepend_file no value no value browscap no value no value default_charset no value no value default_mimetype text/html text/html define_syslog_variables Off Off disable_classes no value no value disable_functions no value no value display_errors Off Off display_startup_errors Off Off doc_root no value no value docref_ext no value no value docref_root no value no value enable_dl On On error_append_string no value no value error_log no value no value error_prepend_string no value no value error_reporting 2039 2047 expose_php On On extension_dir ./ ./ file_uploads On On gpc_order GPC GPC highlight.bg #FFFFFF #FFFFFF highlight.comment #FF9900 #FF9900 highlight.default #0000CC #0000CC highlight.html #000000 #000000 highlight.keyword #006600 #006600 highlight.string #CC0000 #CC0000 html_errors On On ignore_repeated_errors Off Off ignore_repeated_source Off Off ignore_user_abort Off Off implicit_flush Off Off include_path .:/usr/local/lib/php .:/usr/local/lib/php log_errors On On log_errors_max_len 1024 1024 magic_quotes_gpc Off Off magic_quotes_runtime Off Off magic_quotes_sybase Off Off max_execution_time 30 30 max_input_time -1 -1 open_basedir no value no value output_buffering 4096 4096 output_handler no value no value post_max_size 8M 8M precision 14 14 register_argc_argv Off Off register_globals On On report_memleaks On On safe_mode Off Off safe_mode_exec_dir no value no value safe_mode_gid Off Off safe_mode_include_dir no value no value sendmail_from [email protected] [email protected] sendmail_path /usr/lib/sendmail /usr/lib/sendmail serialize_precision 100 100 short_open_tag On On SMTP localhost localhost smtp_port 25 25 sql.safe_mode Off Off track_errors Off Off unserialize_callback_func no value no value upload_max_filesize 2M 2M upload_tmp_dir no value no value user_dir no value no value variables_order GPCS GPCS xmlrpc_error_number 0 0 xmlrpc_errors Off Off y2k_compliance Off Off Link to comment Share on other sites More sharing options...
241 Posted May 1, 2004 Author Share Posted May 1, 2004 Austin I have tried the always_populate_raw_post_data Off and On with no difference noticed as far as updating the currencies. I looked up your post and you state that you have 3 currencies thus your url should be http://www.physique.biz/catalog/admin/curr...3&action=update as seen in the status bar when hovering over the update currencies button, so your issue may be elsewhere than php.ini as you are not pulling the primary number CURRENCY_SERVER_PRIMARY from the database table for currencies. Try manually adding the line in the address bar with cID=3 this would be from the admin/currencies.php <tr> ? ? ? ? ? ? ? ? ? ?<td><?php if (CURRENCY_SERVER_PRIMARY) { echo '<a href="' . tep_href_link(FILENAME_CURRENCIES, 'page=' . $HTTP_GET_VARS['page'] . '&cID=' . $cInfo->currencies_id . '&action=update') . '">' . tep_image_button('button_update_currencies.gif', IMAGE_UPDATE_CURRENCIES) . '</a>'; } ?></td> ? ? ? ? ? ? ? ? ? ?<td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_CURRENCIES, 'page=' . $HTTP_GET_VARS['page'] . '&cID=' . $cInfo->currencies_id . '&action=new') . '">' . tep_image_button('button_new_currency.gif', IMAGE_NEW_CURRENCY) . '</a>'; ?></td> ? ? ? ? ? ? ? ? ?</tr> No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
austin Posted May 1, 2004 Share Posted May 1, 2004 Once again Steve - thanx 4 ur time & effort I know what u mean - tried that several times & just tried it again, replaced all original files, pulled my hair out etc... when I click on the update, I now get /catalog/admin/currencies.php?page=1&cID=10&action=update cID has gone up to 10 because I have also tried deleting and replacing curriencies. This was all working until last w/end and I'm sure I didn't do anything - it just stopped have since found a couple of others with the same problem and nobodys been able to rectify cheers Austin Link to comment Share on other sites More sharing options...
KiltOtter Posted June 4, 2004 Share Posted June 4, 2004 Thanks Steve for the information, but unformtunately it has come up to nil for me on the issue. I've checked and all possible solutions are coming up with no better than before. I think this needs to be logged as a bug again? Anyhow - me takes head and monitor and collides them at low speed (me not want to hurt monitor :P ) Ady Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.