jvvg wrote:
ProgrammingFreak wrote:
Okay I fired xampp_stop.exe and it said 'Can't find Apache process #1500.'
Hmm. Try running task manager as an administrator and killing the process.
I think I got it working again. I used the 3.0 beta of the Control Panel and stopped it.
Offline
ProgrammingFreak wrote:
jvvg wrote:
ProgrammingFreak wrote:
Okay I fired xampp_stop.exe and it said 'Can't find Apache process #1500.'
Hmm. Try running task manager as an administrator and killing the process.
I think I got it working again. I used the 3.0 beta of the Control Panel and stopped it.
Ok, that's good.
[offtopic]
If you get it working, the admin panel is tons of fun.
Offline
Alright, I'm on step 6. I hope this goes smoothly.
Awesome. :33
Offline
ProgrammingFreak wrote:
Alright, I'm on step 6. I hope this goes smoothly.
Awesome. :33
I finished that guide months ago, and then discovered that the database password was wrong.
Offline
I still get these errors:
Strict Standards: Redefining already defined constructor for class Object in C:\xampp\htdocs\Scratchr\cake\libs\object.php on line 65 Strict Standards: Non-static method Configure::getInstance() should not be called statically in C:\xampp\htdocs\Scratchr\cake\bootstrap.php on line 46 OMG. Scratch could not connect to memcached. Please try again later.
I used the htaccess code in the guide:
<IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^$ app/webroot/ [L] RewriteRule (.*) app/webroot/$1 [L] </IfModule> php_value error_reporting 6143
Offline
jvvg wrote:
You need to go to the file where the errors are mentioned and replace all &= with = signs.
Actually, those are the two that you don't do that with and you just hide with error hiding.
Offline
veggieman001 wrote:
jvvg wrote:
You need to go to the file where the errors are mentioned and replace all &= with = signs.
Actually, those are the two that you don't do that with and you just hide with error hiding.
Oh, can you add something to your guide?
You should add something along the lines of:
"To make your user account an admin, go into phpMyAdmin, find the users table, look for the entry for your user, edit it, and set the role to admin".
Offline
veggieman001 wrote:
jvvg wrote:
You need to go to the file where the errors are mentioned and replace all &= with = signs.
Actually, those are the two that you don't do that with and you just hide with error hiding.
Could you help, because it isn't working.
Offline
jvvg wrote:
veggieman001 wrote:
jvvg wrote:
You need to go to the file where the errors are mentioned and replace all &= with = signs.
Actually, those are the two that you don't do that with and you just hide with error hiding.
Oh, can you add something to your guide?
You should add something along the lines of:
"To make your user account an admin, go into phpMyAdmin, find the users table, look for the entry for your user, edit it, and set the role to admin".
Will add something about that soon.
ProgrammingFreak wrote:
veggieman001 wrote:
jvvg wrote:
You need to go to the file where the errors are mentioned and replace all &= with = signs.
Actually, those are the two that you don't do that with and you just hide with error hiding.
Could you help, because it isn't working.
What's not working?
Offline
The htaccess code to hide the two errors. The errors still show.
And thank you for removing the LOL gif. >.<
(what group are you on in pal)
Offline
Are you sure you have the .htaccess file in the right place?
You're welcome
(I'm not really "in" a group, although you could find me in veggieland)
Offline
veggieman001 wrote:
Are you sure you have the .htaccess file in the right place?
You're welcome
(I'm not really "in" a group, although you could find me in veggieland)
Well, I made a Scratchr file instead of deleting everything in htdocs and putting it there. But I set the DocumentRoot to C:\xampp\htdocs\scratchr\app\webroot\, so I thought that would be fine. The htaccess file is in scratchr file. So I thought it would be fine.
Htaccess files always have to be in the root directory, correct? Well, I didn't move it at all, except for putting everything in an extra file scratchr.
Should I put it in webroot? I didn't think so....
Offline
I followed veggie`s awesome guide, but I am still getting a blank page.
What version of php does ScratchR need?
Last edited by Zeusking19 (2012-08-24 09:31:06)
Offline
Fixed an issue with memcached builds. No php errors now, but still a blank page.
Edit: It is definitely communicating with memcached. So it is linked. If it helps I am on a Win7 Home Premium box with XAMPP
Last edited by Zeusking19 (2012-08-24 10:07:19)
Offline
I saw you need to put something in httpd.conf. I put extension=php_memcache.dll in php.ini. What goes in httpd.conf?
Offline
Zeusking19 wrote:
I saw you need to put something in httpd.conf. I put extension=php_memcache.dll in php.ini. What goes in httpd.conf?
If I'm not mistaken, try putting this at the end of apache/conf/extra/httpd-vhosts.conf and restarting the server.
<VirtualHost 127.0.0.1> ServerName scratch.local ServerAlias www.scratch.local DocumentRoot [PATH TO SCRATCHR FILES]scratchr/app/webroot/ <Directory /> Options FollowSymLinks AllowOverride All RewriteEngine On Options -Multiviews FollowSymLinks RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^static/projects/.+/([0-9]+)_(sm|med).png$ static/icons/project/default_$2.jpg [QSA,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^static/projects/.+/([0-9]+).sb$ static/misc/default.sb [QSA,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^static/icons/gallery/(.*)$ static/icons/gallery/default.jpg [QSA,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^static/icons/buddy/([0-9]*)_(sm|med).jpg$ static/icons/buddy/default_$2.jpg [QSA,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^static/icons/buddy/([0-9]*)_(sm|med).png$ static/icons/buddy/default_$2.jpg [QSA,L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] RewriteRule .*\.svn/.* - [F] </Directory> </VirtualHost>
Offline
the DocumentRoot part of that code throws apache into hot water.
>>> DocumentRoot takes one argument, Root directory of the document tree.
>>> AH00526: Syntax error on line 516 of C:/xampp/apache/conf/httpd.conf:
lol. Wrong file try again
In the right file it says >>> Either all Options must start with + or -, or no Option may. .
Error is in the Options -Multiviews FollowSymLinks line
Last edited by Zeusking19 (2012-08-24 11:09:55)
Offline
Are you sure you've got the memcached server's details entered in bootstrap.php?
Offline