PaulBM
Members-
Posts
99 -
Joined
-
Last visited
Content Type
Forums
News
20th
EduGeek EDIT Conference
Blogs
Everything posted by PaulBM
-
I've had a Transport Tycoon Deluxe Scenarios download section on my website since Sept 2000 and according my stats page it's served over 33gb of data since then. Many of the scenarios are still being downloaded today. It amazes me that this game is still so popular, it's a true classic.
-
Just logged in to get the error... The requested URL could not be retrieved ------------------------------------------------------------- While trying to retrieve the URL: http:443 The following error was encountered: Unable to determine IP address from host name for http The dnsserver returned: Name Error: The domain name does not exist. This means that: Th That's it, the rest of the message is cut off. The url in the address bar is.... https://auth.blu.livefilestore.com/storageservice/passport/login.aspx?cid=-918365484096020669&cru=http%3a%2f%2fcid-f3414f753a7a1f43.skydrive.live.com%2fsummary.aspx%3fsa%3d947452403&wa=wsignin1.0
-
One of our ICT teachers have been using this for a couple of years or so, but we've hit a problem with our wonderful Smartcache. Since it's been moved to live.com our filtering blocked it, obviously Instant Messenger MSN etc was blocked. I whitelisted skydrive.live.com, but some lads showed me today that it generates a weird https type error after they enter their passwords. Cannot load http:443 or words to that effect. Anyone else seen this or fixed it, I'll try to get the exact error soon.
-
Is it losing connection? Surely if the connection was lost $_SERVER['status'] wouldn't be initialised? It seems the value is there but set to 0. What about looking at the web server logs. Your earlier 500 errors should be there.
-
I've been asked today if we can enable Search (Control+F). It's turned off by default in our Student user type (RM CC3). It's obviously turned off for a reason, what are the implications of enabling search? The section that's been quoted is... "They will locate and open existing files, using the search facilities of the operating system software where necessary." This is required to obtain a distinction.
-
Not knowing Joomla, it's clearly a styling problem. It looks like the form elements are floated, which makes the text flow around the form elements. Without the actual code it's tough to diagnose. Can you wrap html tags around the greeting text? A around the greeting make work, or perhaps in front of the text? Not an ideal solution, but welcome to wonderful world of cross browser compatibility problems.
-
I'm with lightinthedark too, I don't usually have unique ids on my many to many tables. Although, powdarrmonkey also makes a valid point that it won't really make a lot of difference if you do add the column. I have seen people use both fields as the primary key to trap duplicates. In theory a student should never be on the same course twice. Then again, your code should check that the student isn't on the course already before adding to the many to many table.
-
use strrpos, that counts backwards and only slice if you find >1 if .com or >2 if co.uk etc. That's the problem I found, what is the domain and how many dots does it contain?
-
How about explode(".",$url)? I too, thought of strrpos to search backwards, but .coms will have 1 dot and co.uks etc will have 2. I've struggled with this for a content management routine I provided for a friend of mine. It's tough to parse his updates and find the urls and make them active when displayed on the site. Have you looked at the full array returned by parse_url, the manual shows a lot of information can be returned... Array ( [scheme] => http [host] => hostname [user] => username [pass] => password [path] => /path [query] => arg=value [fragment] => anchor )
-
Does undefined index appear when $Error['email']="Email error" ? Because I'd expect that. You can just add to the errors array without specifying an index... $error[]="Email error"; ... $error[]="Password error"; Personally, I just use a string ($errors) and add to it with each error message wrapped in a ... tag then display as follows.. print " $errors";
-
How about adding error_reporting(E_ALL); at the beginning of index.php, to see if any errors are being generated. I use it all the time I'm developing to make sure I don't have any errors, uninitialised variables are the ones that slip through. They only generate warnings, but I prefer to kill them all with isset() checks. Taking a quick at the output_fns.php... is the insert function being called at all? you initialise the array... $Error = array("email" => "","pwd" =>"","pwd1"=>""); then test if it's empty... if(empty($Error)) { insert($email,$pwd,$nama,$tgl_lahir,$jekel,$tmpt,$alamat,$kota,$propinsi); Try changing the declaration of the variable to $Error=array(); then the check for errors may work, but if (count($Error)==0) might be a more reliable check.
-
Perhaps video podcasts would help you? iTunes search podcasts for The Art of Code. They start at the very beginning with a blank html page and add a stylesheet to style some of the page. He goes on to discuss margins and padding and a lot more.
-
Hmmm, so no errors when connecting to the database, no errors when INSERTing the data, and yet nothing in the database tables when you check them via phpmyadmin or similar program?
-
Assuming no header information has been sent when the code hits... header('location:thanks.php'); return mysql_affected_rows(); the page will redirect to thanks.php and will never return the affected rows. To track the bug, change that to display the mysql return value and string too. As others have said what errors do you get back from mySQL? I always put single quotes around the values for string fields and leave them off for numeric fields. Not sure if it's vital, but it helps me spot numeric and string fields.
-
I need an idiots guide too creating a web page
PaulBM replied to yabbadabba's topic in Web Development
Run up iTunes or similar podcast software... Subscribe to 'The Art of Code' video podcast, the first dozen or episodes take you from the very beginning. He types a bare document into his favourite text editor and then shows how to add stylesheets etc. He explains why things happen etc, worth a lot more than any WYSIWYG editor in my opinion. -
Talent points or character skill points? Talent points are earned at one per level from level 10. Skill points (swords etc) go up as you use the skill (5 per level) so at level 80 400 is max weapon skill. Character attribute points (health, stamina etc) get a small boost per level, but items with bonuses are the main way to boost these stats.
-
I've just been given this software to sort out this year too. We're running CC3, this'll be fun. I was confused too, administrator = client! Duh. I've phoned Edexcel... the guy was very helpful. Time to install the SiteManager and then the fun of making the Client package. Wish me luck.
-
HTML and CSS Tutorials, References, and Articles | HTML Dog is one of the best sites I've found. They have 3 levels of tutorials, from Beginner to Advanced.
-
If you paste the SQL query... SELECT Forename , Surname , Comment FROM feedback into phpmyadmin's SQL page and run it do you get data back? If the num_rows call is failing with the error you posted, it looks like the result set has an error or is null. After $result = mysql_query($sql); check that $result is valid, before beginning to display the results. For debug purposes... print mysql_errno()." : ".mysql_error()." "; Zero is what you're looking for.
-
FFS... another installation nightmare looms!
-
We only allow games in one room outside of lesson times. We spend a fair amount of time banning the endless stream of games sites too.
-
Are you looking for pagenating the web page for display or page breaks for printing?
-
We've got one awkward laptop here regarding WSUS. It doesn't have the PingID reg key and doesn't connect to the WSUS Server. I've stopped the WSUS service and deleted the keys that are present, restarted the service, but no joy. Then I tried removing it from the domain and rejoining, but still no luck. Also, maybe related, Active Desktop generates an error if I try to set a web page. Our Science department have a system for messaging each other and it was setting that web page on Active Desktop that started this fault call and I noticed that WSUS wasn't working. Edit: Further testing and Hitachi's disk checker software reports the drive has a problem, so it's highly likely that is the primary cause of this fault.
-
Do you use a separate CSS file for printing? I'd add a second class for the all the headers that you don't want printed. School Logo some text School Logo some text School Logo some text Then in the CSS for printer... .noprint { display:none; } That's how I hide any items from the screen that I don't want printed. I'm not sure if you can do this though, can you give us more information on how the page is generated?
-
Has anyone managed to get this working on RM CC3? I built a package, but it stalls without error on a student login, when Installing Bricks. Looks like some more work is required to find out where it's storing it files.
