SnippetMaster Support Forums
Return to main website
 
April 07, 2008, 04:54:26 AM
* Show unread posts since last visit.
* Show new replies to your posts.
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 07, 2008, 04:54:26 AM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  Installation Issues  |  Topic: Php-Txt-Db-Access Error on first time auto-install « previous next »
Pages: [1] Print
Author Topic: Php-Txt-Db-Access Error on first time auto-install  (Read 374 times)
jwatts

Posts: 6


[-] Php-Txt-Db-Access Error on first time auto-install
« on: January 07, 2008, 06:52:02 AM »

Hello,

I am very excited to try this program!  I downloaded the auto-installer from http://www.snippetmaster.com/download/ and uploaded it to my server and ran it.

Everything seemed to go through without an error - I got the confirmation message and everything.  But when I go to the snippetmaster/index.php file on the server, I get a whole bunch of Php-Txt-Db-Access Errors, all talking about the 'zend.ze1_compatibility_mode'.

I tried a solution I found on this forum about making a php.ini file to turn the zend optimizer off, but then when I went to the file it gave me a 'Zen Optimizer Not Installed' error.

During the installation, I remember it saying that ioncube was not installed so it would use the zend version.

Here is the URL: http://www.apookiewedding.com/snippetmaster/index.php

Any help would be much appreciated!  I've been looking for this kind of CMS-over-existing-HTML-pages solution for a long time, and this one looks promising!  Thanks so much!

Justin
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 2212

SnippetMaster Author


WWW
[-] Re: Php-Txt-Db-Access Error on first time auto-install
« Reply #1 on: January 07, 2008, 11:21:03 AM »

Hello,

The solution is to use the PHP.ini file to turn off the "ze1_compatibility_mode", but still leave Zend Optimizer actualy turned on.

(Your web hosting provider should be able to help you with this, the problem is fixable in about 2 minutes for any host that knows what they're doing.  Smile

Let me know...
Report to moderator   Logged
jwatts

Posts: 6


[-] Re: Php-Txt-Db-Access Error on first time auto-install
« Reply #2 on: January 08, 2008, 12:15:12 PM »

What they had me do was create a .htaccess file to put in my snippetmaster directory with the following line:

php_value zend.ze1_compatibility_mode Off

After that, I refreshed and got an error page suggesting I should run the install wizard again.  Did that, and now it's working!

However, my admin page comes up blank!  Shocked  No error messages or anything, and nothing in the server error log.

Any ideas?
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 2212

SnippetMaster Author


WWW
[-] Re: Php-Txt-Db-Access Error on first time auto-install
« Reply #3 on: January 08, 2008, 01:23:25 PM »

Try - reuploading the files?  If th epage is blank, then there should be an error or somehing... your host might need to help diagnose it?

Report to moderator   Logged
jwatts

Posts: 6


[-] Re: Php-Txt-Db-Access Error on first time auto-install
« Reply #4 on: January 08, 2008, 06:07:36 PM »

I added another line to the .htaccess file to display errors, and this is what I got...

Fatal error: Unable to read 37053 bytes in /hsphere/local/......../snippetmaster/admin.php on line 0
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 2212

SnippetMaster Author


WWW
[-] Re: Php-Txt-Db-Access Error on first time auto-install
« Reply #5 on: January 09, 2008, 10:58:43 AM »

Hello,

This error typically means that the file is corrupted or is an encoded file (Zend optimizer), but was not uploaded in BINARY transfer mode.

Can you reupload the file, and make sure that your FTP program is configured to upload the file using BINARY transfer mode?

Let me know.

Report to moderator   Logged
jwatts

Posts: 6


[-] Re: Php-Txt-Db-Access Error on first time auto-install
« Reply #6 on: January 09, 2008, 11:34:57 AM »

I have 2 FTP programs that I generally use - the one in Dreamweaver, and WS_FTP Pro.  WS_FTP is set to always upload binary unless specific file extensions are specified for uploading ASCII.  I also modified my Dreamweaver config file to upload PHP files as binary.  I tried uploading that file again, using both programs, but still ended up with that error.

But since I ran the auto-install, shouldn't that file have been placed on my server correctly?

Is there anything else you can suggest I try?
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 2212

SnippetMaster Author


WWW
[-] Re: Php-Txt-Db-Access Error on first time auto-install
« Reply #7 on: January 11, 2008, 05:39:18 AM »

I'm pretty sure the error is related to the encoding of the file...

What I recommend is requesting a free install here:

http://www.snippetmaster.com/download/index.php#free_install

I'm currently travelling around Tunisie for the next few weeks, but I should (hopefully) have some time off and on over the next few days to take care of this for you.  Smile

Cheers!
Report to moderator   Logged
jwatts

Posts: 6


[-] Re: Php-Txt-Db-Access Error on first time auto-install
« Reply #8 on: January 11, 2008, 10:20:42 AM »

I just sent in my request.  I greatly appreciate your help, and look very much forward to trying out this system!

Justin
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 2212

SnippetMaster Author


WWW
[-] Re: Php-Txt-Db-Access Error on first time auto-install
« Reply #9 on: January 12, 2008, 01:02:47 AM »

I'm working on the install right now...   done!  It should be ready for you to finish the installation now.  Smile

Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  Installation Issues  |  Topic: Php-Txt-Db-Access Error on first time auto-install « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!