NineChime forum

Furry stuff, oekaki stuff, and other stuff.

You are not logged in.

Post a reply

Write your message and submit
Options
Humanity test

What is six + five?

Go back

Topic review (newest first)

jinxville
09-06-2008 23:29:46

I had some trouble finding the .htaccess, but I found a Terminal command that did the job. Once I uploaded it into the oekaki folder on the server, it worked like a charm. Thanks! Now I just need to bug my server guy about the MySQL database info...

Waccoon
09-06-2008 20:59:35

kwesi wrote:

PS: There were in fact two different php.ini files created during this wamp install. the first one lived inside of "DRIVE:\wamp\bin\php\php5.2.5" and the other inside of "DRIVE:\wamp\bin\apache\apache2.2.8\bin". So there's my problem.
thanks again, again!

There's two ways to run PHP: as CGI (on its own), or as an Apache module.

When PHP operates on its own, Apache tells the OS to run php.exe to process the script code.  Then, Apache takes the result and echos it.  This is the way that most developers have their machines set up, because it offers the most flexibility.  However, it's slow and uses up more memory.  With this installation, the php.ini file will be located in the PHP folder.

When PHP is run as a module (or "library" on a Windows machine), Apache processes the script code by itself.  This is much faster and is appropriate for production use, but limits what developers can do and makes code harder to debug.  With this install, the php.ini file is located in the Apache folder, since it is technically an Apache extension.

Since Xammp is a "web server in a box", I assume the developers intended for it to be used as a production server, rather than a development platform.  If you want to do some PHP coding, I'd recommend installing PHP manually, but that's tricky to do without step-by-step directions.

jinxville wrote:

I'm not running my own server, and I think my using a Mac may be screwing me up when it comes to viewing some files.

In most cases, copying the ".htaccess" file to the server will fix the problem.  There are a few issues, however:

1) Some servers will disable the use .htaccess files.  Normally, this means that if you copy an .htaccess file to the server, the server will disable your web page and return a "500 Internal Server Error".  Just remove the .htaccess file to correct this, and tell the server admin you need short tags turned on.

2) Macs (and UNIX machines) treat the .htaccess file differently than other files.  Files that have file extensions, but no name, will be invisible.  So, you may not be able to see the .htaccess file in the OSX finder, but it should show up in an FTP program.  If you can't see the .htaccess file in the Wacintaki documentation folder, you will have to use some other way to get it out of the archive.  My Mac isn't hooked up at the moment, so I'm not sure how Macs deal with hidden files, especially within ZIP archives.

3) In rare cases, the .htaccess file will not be supported by the server.  Apache servers support the file, but Microsoft IIS and Abyss web servers do not.  If your hosting is on a Windows-based server, the .htaccess file may not work.

Are you having trouble uploading the .htaccess file, or is it just not working?

jinxville
09-05-2008 14:54:06

I actually got the same error message when I was doing a fresh install, but even with the advice you gave in this thread, I don't know how to fix it. I'm not running my own server, and I think my using a Mac may be screwing me up when it comes to viewing some files. Any advice for a tech idiot? If it's something that needs fixing on the server, I have pretty easy access to the guy who runs it. Thanks in advance.

kwesi
09-05-2008 05:46:21

Dude, you're pretty awesome... did you know that?

I've been looking around your support forms and it seems that you've answered almost every question you've been presented with. You provide some of the BEST support and I really appreciate your help.

I did have short tags set to on in php.ini but for some reason it didn't take. I think I must have more than one php.ini file so I'm searching my hard drive for another right now. In any case, the .htaccess file did the trick. Thanks for suggesting it, you really know your stuff and aren't afraid to share!

I would like to help you develop this application. I have no formal education in PHP but i do know my way around it a bit and could probably tackle a few tasks if you need the help. If not, it's cool, I know how hard it is to find qualified help.

btw, I'm working on the oekaki at draw.pokecommunity.com (not an advertisement). It's not in the best shape right now as I've haven't doe anything to the site in about a year but im mentioning it because i just wanted you to see the direction that I'm taking your script in.

Thanks again!

PS: There were in fact two different php.ini files created during this wamp install. the first one lived inside of "DRIVE:\wamp\bin\php\php5.2.5" and the other inside of "DRIVE:\wamp\bin\apache\apache2.2.8\bin". So there's my problem.
thanks again, again!

Waccoon
09-05-2008 04:23:21

Ah, OK.  I played around with my "php.ini" settings and got this error.  Support for short tags must be on to use the board.

If you have access to the "php.ini" file and look for the "short_open_tag" setting.  Set it to "On".

If can't access the "php.ini" file for some reason, look in the documentation folder of the Wacintaki distro and copy the ".htaccess" file to the root folder of your oekaki.  It's also recommended that you copy it into the "resource" folder.

kwesi
09-04-2008 14:18:57

This is a complete fresh install. I haven't even been presented with the option to setup the database to work with the oekaki. The only thing I've done so far is upload the software and set the permissions. Since im installing this on my localhost im I think it has something to do with the way I've setup the server but i can't be sure.

Yes, the version was 1.4.1 but I experience the same type of error when attempting to install 1.3.14.

Waccoon
09-04-2008 03:26:13

Are you trying to use quotes or apostrophes in your database information?

You are allowed to do that with your oekaki username and password, but not your MySQL login.  You also cannot use international characters for your MySQL username, as far as I know.  The installer doesn't have a dedicated error message for this, and I should probably add one.

You're using the Wacintaki 1.4.1 installer, yes?

kwesi
09-03-2008 23:37:50

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in F:\wamp\www\draw\install.php on line 364

Parse error: syntax error, unexpected T_STRING in F:\wamp\www\draw\install.php on line 364

I'm using wamp server 5 with Apache Version : 2.2.8 & PHP Version : 5.2.5. I've enabled short tags but for some reason im still getting the above error when I try to install. could someone help me out?

Board footer

Yep, still running PunBB
© Copyright 2002–2008 PunBB