| Pages: [1] |
|
|
Author |
Topic: Php-Txt-Db-Access Error on first time auto-install (Read 374 times) |
|
jwatts
Posts: 6
|
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
|
|
|
|
|
admin
Forum Administrator

Posts: 2212
SnippetMaster Author
|
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.
Let me know...
|
|
|
|
|
|
jwatts
Posts: 6
|
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!  No error messages or anything, and nothing in the server error log.
Any ideas?
|
|
|
|
|
admin
Forum Administrator

Posts: 2212
SnippetMaster Author
|
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?
|
|
|
|
|
|
jwatts
Posts: 6
|
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
|
|
|
|
|
admin
Forum Administrator

Posts: 2212
SnippetMaster Author
|
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.
|
|
|
|
|
|
jwatts
Posts: 6
|
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?
|
|
|
|
|
admin
Forum Administrator

Posts: 2212
SnippetMaster Author
|
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.
Cheers!
|
|
|
|
|
|
jwatts
Posts: 6
|
I just sent in my request. I greatly appreciate your help, and look very much forward to trying out this system!
Justin
|
|
|
|
|
admin
Forum Administrator

Posts: 2212
SnippetMaster Author
|
I'm working on the install right now... done! It should be ready for you to finish the installation now.
|
|
|
|
|
|
|
Pages: [1]
|
|
|
|