This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#226 2012-08-24 11:26:32

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Installing ScratchR locally

I'm going to try and set it up again on my machine to see if I can.


Posts: 20000 - Show all posts

Offline

 

#227 2012-08-24 11:57:56

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: Installing ScratchR locally

Alright.

Offline

 

#228 2012-08-24 12:24:02

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Installing ScratchR locally

I'd also love to make a wiki page on this once I figure it out again... I wonder if that would fit there? (I would think so.)


Posts: 20000 - Show all posts

Offline

 

#229 2012-08-24 12:29:16

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: Installing ScratchR locally

I think it would...

Offline

 

#230 2012-08-24 12:45:14

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: Installing ScratchR locally

Me too.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#231 2012-08-24 14:21:41

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: Installing ScratchR locally

Btw, @programmingfreak: your memcached link works great.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#232 2012-08-24 14:49:01

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: Installing ScratchR locally

Awesome. :3
I hope I can get everything worked out today.

Offline

 

#233 2012-08-24 14:59:08

lallaway12
Scratcher
Registered: 2012-01-04
Posts: 500+

Re: Installing ScratchR locally

Can I use Xampp lite on this?


http://i49.tinypic.com/2re4ied.png

Offline

 

#234 2012-08-24 15:52:59

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: Installing ScratchR locally

lallaway12 wrote:

Can I use Xampp lite on this?

Not sure. We all used the full version of XAMPP.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#235 2012-08-24 16:21:32

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Installing ScratchR locally

lallaway12 wrote:

Can I use Xampp lite on this?

Perhaps. You may have to test it.


Posts: 20000 - Show all posts

Offline

 

#236 2012-08-24 17:15:19

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Installing ScratchR locally

Well I followed all the steps mostly and I tried having the memcached server being on both the VM and my main computer and it's just showing the white screen. I'm not 100% sure I have the right php_memcache.dll, though, but I'm not exactly sure how I can get it. I may need to build from source.


Posts: 20000 - Show all posts

Offline

 

#237 2012-08-24 17:21:14

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: Installing ScratchR locally

veggieman001 wrote:

Well I followed all the steps mostly and I tried having the memcached server being on both the VM and my main computer and it's just showing the white screen. I'm not 100% sure I have the right php_memcache.dll, though, but I'm not exactly sure how I can get it. I may need to build from source.

Aww.  sad

Also, can you please add how to make yourself an admin to the guide? It's a few pages back.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#238 2012-08-24 17:23:35

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Installing ScratchR locally

jvvg wrote:

veggieman001 wrote:

Well I followed all the steps mostly and I tried having the memcached server being on both the VM and my main computer and it's just showing the white screen. I'm not 100% sure I have the right php_memcache.dll, though, but I'm not exactly sure how I can get it. I may need to build from source.

Aww.  sad

Also, can you please add how to make yourself an admin to the guide? It's a few pages back.

What version of PHP and the DLL are you using?

Later today or tomorrow (whenever I get it working) I will convert the guide to a wiki page and add that.


Posts: 20000 - Show all posts

Offline

 

#239 2012-08-24 17:25:10

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: Installing ScratchR locally

veggieman001 wrote:

jvvg wrote:

veggieman001 wrote:

Well I followed all the steps mostly and I tried having the memcached server being on both the VM and my main computer and it's just showing the white screen. I'm not 100% sure I have the right php_memcache.dll, though, but I'm not exactly sure how I can get it. I may need to build from source.

Aww.  sad

Also, can you please add how to make yourself an admin to the guide? It's a few pages back.

What version of PHP and the DLL are you using?

Later today or tomorrow (whenever I get it working) I will convert the guide to a wiki page and add that.

PHP 5.3.8 and the version of the DLL I found in your guide.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#240 2012-08-24 17:27:23

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Installing ScratchR locally

Ah. I've got 5.4.4 now, so I'm not sure what to do  hmm


Posts: 20000 - Show all posts

Offline

 

#241 2012-08-24 17:40:37

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Installing ScratchR locally

Memcached seems to be connected and working, but it's still not working. Dunno what's up.


Posts: 20000 - Show all posts

Offline

 

#242 2012-08-24 17:45:00

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: Installing ScratchR locally

veggieman001 wrote:

Memcached seems to be connected and working, but it's still not working. Dunno what's up.

If you get a blank page, the problem isn't with memcached. Memcached says something like "OMG Scratch can't connect to memcached".


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#243 2012-08-24 17:46:36

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Installing ScratchR locally

Ah, okay. It didn't used to do that when I tried it before and the issue was with memcached.


Posts: 20000 - Show all posts

Offline

 

#244 2012-08-24 17:47:18

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: Installing ScratchR locally

veggieman001 wrote:

Ah, okay. It didn't used to do that when I tried it before and the issue was with memcached.

For a while, it turns out I just had the wrong database password.  tongue
Then it gave me the OMG screen after I fixed that.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#245 2012-08-24 17:52:55

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Installing ScratchR locally

Hmm. Yeah, I know that's not my issue; I didn't change the MySQL password and the default is empty. I'm not getting the OMG screen either, just blank. Not much I can do with that D":


Posts: 20000 - Show all posts

Offline

 

#246 2012-08-24 18:18:00

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Installing ScratchR locally

I uh tried to go to like a random subfolder and it showed the regular 404 page. It's also letting me go the the login and signup pages, and I was able to register for an account which is showing up in the database, but it's not letting me log in. Also, when I try to go to the user page, it 404s.


Posts: 20000 - Show all posts

Offline

 

#247 2012-08-24 18:31:58

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: Installing ScratchR locally

veggieman001 wrote:

I uh tried to go to like a random subfolder and it showed the regular 404 page. It's also letting me go the the login and signup pages, and I was able to register for an account which is showing up in the database, but it's not letting me log in. Also, when I try to go to the user page, it 404s.

That's weird. Not sure what's wrong.  hmm


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#248 2012-08-24 18:40:57

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: Installing ScratchR locally

Another important thing to note:

If installing the forums, before doing anything, go to include/common.php and do the following:

wrap the following code:

Code:

if($pun_user['is_guest'] && $scratchr_logged && $_SERVER["SCRIPT_NAME"]!="/$forums_dirname/login.php"){
        redirect('login.php','logging in');
    }
    if(!$pun_user['is_guest'] && !$scratchr_logged && $_SERVER["SCRIPT_NAME"]!="/$forums_dirname/login.php"){
        redirect('login.php?action=out','logging out');
    }
    if(!$pun_user['is_guest'] && $scratchr_logged && $_SERVER["SCRIPT_NAME"]!="/$forums_dirname/login.php" && $_SESSION['User']['username']!=$pun_user['username']){
        redirect('login.php?action=out','logging out');
    }

with:

Code:

if (basename($_SERVER['PHP_SELF']) != 'login.php') {
...code above...
}

http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#249 2012-08-25 02:50:41

lallaway12
Scratcher
Registered: 2012-01-04
Posts: 500+

Re: Installing ScratchR locally

WAAA errors on full Xampp

Code:

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\cake\basics.php on line 1101

Strict Standards: Redefining already defined constructor for class Object in C:\xampp\htdocs\cake\libs\object.php on line 65

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\cake\libs\inflector.php on line 67

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\cake\libs\configure.php on line 124

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\cake\libs\configure.php on line 214

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\cake\libs\configure.php on line 888

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\cake\libs\configure.php on line 928

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\cake\libs\file.php on line 90

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\cake\libs\cache.php on line 68

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\cake\libs\cache.php on line 151

Strict Standards: Non-static method Configure::getInstance() should not be called statically in C:\xampp\htdocs\cake\bootstrap.php on line 46

http://i49.tinypic.com/2re4ied.png

Offline

 

#250 2012-08-25 02:59:21

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Installing ScratchR locally

lallaway12 wrote:

WAAA errors on full Xampp

Code:

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\cake\basics.php on line 1101

Strict Standards: Redefining already defined constructor for class Object in C:\xampp\htdocs\cake\libs\object.php on line 65

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\cake\libs\inflector.php on line 67

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\cake\libs\configure.php on line 124

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\cake\libs\configure.php on line 214

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\cake\libs\configure.php on line 888

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\cake\libs\configure.php on line 928

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\cake\libs\file.php on line 90

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\cake\libs\cache.php on line 68

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\cake\libs\cache.php on line 151

Strict Standards: Non-static method Configure::getInstance() should not be called statically in C:\xampp\htdocs\cake\bootstrap.php on line 46

Follow the guide.


Posts: 20000 - Show all posts

Offline

 

Board footer