― Billy Dods (Billy Dods), Monday, 31 July 2006 16:06 (nineteen years ago)
― Jaq (Jaq), Monday, 31 July 2006 16:14 (nineteen years ago)
Now, when they click the link to add to the cart, it first checks the form for validation errors, then assuming they're all done and dusted, then it whips you off to Paypal. I want to do two other things at this point though.
Firstly, I want to send an email to them at the same time as they add to the basket, so they have a provisional registration. The paypal button action takes you to paypal, not a page where I can generate a message using CFMail. So, how can I get the button action to do this?
Secondly, some people will pay for more than one person, so having added their details and themselves to the cart, when they return to that page to enter more people. It'd be good if I could find a way to process the adding to the cart through to paypal, send and email, then clear the form ready for the next entry.
Any help appreciated!
― Dave B (daveb), Thursday, 3 August 2006 11:51 (nineteen years ago)
I got fed up with this so I wrote a batch file to run at start-up which automatically maps the server to drive y: using the net use command. Trouble is, every so often the drive does stay connected and so I get system error 85 which says that the batch file is trying to map to a drive already in use.
Can you put an if/then type statement (or something equivalent) in a batch file that says that if (server) is not connected to drive y: then map it, otherwise do nothing?
― MarkH (MarkH), Saturday, 19 August 2006 07:24 (nineteen years ago)
Alernatively, you can use IF constructs in batch files, but I don't know if you can use it to check whether a drive exists or not; other than forcing an error and checking for the error, but it's probably not worth the effort, in this instance, just call:
net use /delete
before you map it. It might fail, but it doesn't really matter; it just ensures that it has been disconnected. You'd probably want to do this anyway, because it's possible the drive might have been (for whatever reason) mapped to somewhere other than where you want it.
― KeefW (kmw), Saturday, 19 August 2006 18:55 (nineteen years ago)
I found an old IDE drive and booted fine from that, reinstalled Windows XP and patched it. Suddenly it could see the old SATA drive again via Windows.
What's happening?
― Ste (Fuzzy), Monday, 21 August 2006 07:51 (nineteen years ago)
/sbin/service httpd configtestSyntax OK/sbin/service httpd startStarting httpd: [FAILED]
― -- (688), Tuesday, 22 August 2006 19:05 (nineteen years ago)
/usr/sbin/apachectl start
For which you'll need to be root.
Which seemed to work fine. I don't know how you're trying to start it, and I don't know much about Apache, but the above worked.
― KeefW (kmw), Tuesday, 22 August 2006 19:16 (nineteen years ago)
― stet (stet), Tuesday, 22 August 2006 19:43 (nineteen years ago)
[::]:80(13)Permission denied: make_sock: could not bind to address [::]:8443(13)Permission denied: make_sock: could not bind to address 0.0.0.0:8443no listening sockets available, shutting downUnable to open logs
― -- (688), Tuesday, 22 August 2006 19:49 (nineteen years ago)
― stet (stet), Tuesday, 22 August 2006 20:09 (nineteen years ago)
― stet (stet), Tuesday, 22 August 2006 20:15 (nineteen years ago)
It looks as though it's trying to bind to 8443 but failing, because another process is bound to that port.
― KeefW (kmw), Tuesday, 22 August 2006 20:24 (nineteen years ago)
― -- (688), Tuesday, 22 August 2006 21:32 (nineteen years ago)
― The Real DG (D to thee G), Tuesday, 22 August 2006 21:34 (nineteen years ago)
― Danny Aioli (Rock Hardy), Tuesday, 22 August 2006 21:40 (nineteen years ago)
i bought it as a curiosity but it's taken over my life :(
― The Real DG (D to thee G), Tuesday, 22 August 2006 21:45 (nineteen years ago)
I love the Opera browser!
― Alba (Alba), Tuesday, 22 August 2006 21:45 (nineteen years ago)
― The Real DG (D to thee G), Tuesday, 22 August 2006 21:50 (nineteen years ago)
Speed tests you may find useful.
Another thing to try is turning off caching, if you've got a fast connection but less RAM and processing power.
― Alba (Alba), Tuesday, 22 August 2006 21:53 (nineteen years ago)
― Alba (Alba), Tuesday, 22 August 2006 21:56 (nineteen years ago)
i had a bash at shiira but it felt a bit LOL japan especially as one of the inbuilt links is to a page called something like HAPPY FUN KERNEL DEVELOPMENT TEAM LAUGH TIME
i liked the opera bittorrent thing esp as i was trying to download v for vendetta downloading linux distros
― The Real DG (D to thee G), Tuesday, 22 August 2006 22:00 (nineteen years ago)
― Alba (Alba), Tuesday, 22 August 2006 22:03 (nineteen years ago)
― The Real DG (D to thee G), Tuesday, 22 August 2006 22:10 (nineteen years ago)
― Alba (Alba), Tuesday, 22 August 2006 22:11 (nineteen years ago)
― Alba (Alba), Tuesday, 22 August 2006 22:12 (nineteen years ago)
― milo z (mlp), Tuesday, 22 August 2006 22:13 (nineteen years ago)
― Alba (Alba), Tuesday, 22 August 2006 22:15 (nineteen years ago)
VLC works OK on this intel mac, though I've noticed it doesn't always work if you double-click on a file. You have to launch it first, then open the file. There's no way around region-locking the drive, unless you never use DVD Player.
Torrents: Acquisition has torrent support, but Azureus is still the best. If you can run it on its own Mac, cos it's a beast.
― stet (stet), Tuesday, 22 August 2006 22:16 (nineteen years ago)
― The Real DG (D to thee G), Tuesday, 22 August 2006 22:17 (nineteen years ago)
x-post. That's weird. VLC is usually fine for playing any region's discs.
― Alba (Alba), Tuesday, 22 August 2006 22:19 (nineteen years ago)
― The Real DG (D to thee G), Tuesday, 22 August 2006 22:20 (nineteen years ago)
― Alba (Alba), Tuesday, 22 August 2006 22:22 (nineteen years ago)
― Affectian (Affectian), Tuesday, 22 August 2006 22:23 (nineteen years ago)
― Affectian (Affectian), Tuesday, 22 August 2006 22:26 (nineteen years ago)
um, i dont have /etc/httpd/httpd.conf!
ls /etc/httpdalias build conf conf.d logs modules run
― -- (688), Wednesday, 23 August 2006 08:42 (nineteen years ago)
― -- (688), Wednesday, 23 August 2006 08:47 (nineteen years ago)
― Koogy Yonderboy (koogs), Wednesday, 23 August 2006 08:53 (nineteen years ago)
Listen 80
rest is commented out. servername directive is all commented out
― -- (688), Wednesday, 23 August 2006 08:57 (nineteen years ago)
― Koogy Yonderboy (koogs), Wednesday, 23 August 2006 09:16 (nineteen years ago)
is the correct answer! i think
/etc/init.d/thttpd stopStopping thttpd: [ OK ][root@localhost html]# /sbin/service httpd startStarting httpd: [ OK ]
― -- (688), Wednesday, 23 August 2006 09:42 (nineteen years ago)
― The Real DG (D to thee G), Wednesday, 23 August 2006 09:56 (nineteen years ago)
― Koogy Yonderboy (koogs), Wednesday, 23 August 2006 10:00 (nineteen years ago)
― emsk ( emsk), Wednesday, 23 August 2006 11:22 (nineteen years ago)
/etc/rc?.d.
i have rc1.d through rc6.d ...which should i be adding to? i didnt look at the gui bit for that, would prefer to use command line, as is better to try learn more that way
― -- (688), Wednesday, 23 August 2006 11:29 (nineteen years ago)
Look for a line in that file that looks something like:
id:3:initdefault:
- which means that the default level is 3, so look in /etc/rc3.d/
The contents of those folders will all just be links back to files in /etc/init.d/
― Forest Pines (ForestPines), Wednesday, 23 August 2006 11:35 (nineteen years ago)
gives me a whole bunch of stuff, including...
S85thttpd
so, do i just rm this? and, if i add apache in, how, exactly would i do that?
― -- (688), Wednesday, 23 August 2006 12:15 (nineteen years ago)
ls -lR /etc/rc?.d is your friend. you will see what fp is talking about, the files will all be links to the main copy in /etc/init.d.
just rm the thttp links in the rc?.d directories that you don't want.
to add apache just create a new link to apache to replace the one you've just deleted:ln -s /etc/init.d/(apachefilename) /etc/rc5.d/S85(apachefilename)
(the S85 means 'Start' and an ordering (because sometimes things have to be running before other things will run). there may be K versions of the files as well, these are shutdown (K for Kill) scripts)
this is why redhat provides a tool 8)
― Koogy Yonderboy (koogs), Wednesday, 23 August 2006 12:31 (nineteen years ago)
― Forest Pines (ForestPines), Wednesday, 23 August 2006 12:38 (nineteen years ago)