get a strange message - Post ID 79925

User 1887169 Photo


Guest
3 posts

www.divinecaramels.com

cart uploaded just fine.


Warning: main(/usr/local/apache/cgi-bin/ccdata/php/page.cls.php): failed to open stream: No such file or directory in /nfs/cust/9/28/22/922829/web/index.php on line 11

Fatal error: main(): Failed opening required '/usr/local/apache/cgi-bin/ccdata/php/page.cls.php' (include_path='.:/usr/local/php/include') in /nfs/cust/9/28/22/922829/web/index.php on line 11

i then do a php test...

Warning: session_start(): open(/tmp/php-ses/sess_78da01d9ee7341432a26f1cbe596df74, O_RDWR) failed: Permission denied (13) in /nfs/cust/9/28/22/922829/web/ccdata/php/servertest.php on line 16

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /nfs/cust/9/28/22/922829/web/ccdata/php/servertest.php:16) in /nfs/cust/9/28/22/922829/web/ccdata/php/servertest.php on line 16


CoffeeCup Shopping Cart Server Validator.
PHP Version
OK - The installed version of PHP on this server is: 4.3.10
PHP Extensions
OK
Session Data
FAILED - this server can not store cart data for users.
Connectivity with PayPal
OK
Maximum Execution Time Allowed
OK
Finished testing.
Warning: Unknown(): open(/tmp/php-ses/sess_78da01d9ee7341432a26f1cbe596df74, O_RDWR) failed: Permission denied (13) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp/php-ses) in Unknown on line 0


i dunno. thought this was supposed to be easy
User 103173 Photo


VP of Software Development
0 posts

Please take a look at http://www.divinecaramels.com/ccdata/php/servertest.php Looks like you have a very server issues to address.
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 1887169 Photo


Guest
3 posts

huh?
i posted that already. so im guessing im screwed since i use a hosting service.
not sure how to address.

thank you anyway for your reply

B.
User 1887169 Photo


Guest
3 posts

is that all the help i can get? not sur e what else to do at this point. i opened a ticket with my hosting people but they say its the software. so no help there.

User 1889005 Photo


Guest
19 posts

Scott negitive. It's a php 5 issue,
Bill do the following

This is the issue. you need to comment out the following line
$absPath = substr($_SERVER['SCRIPT_FILENAME'], 0, strrpos($_SERVER['SCRIPT_FILENAME'], '/') + 1);

put a // in front of the line so it looks like this
//$absPath = substr($_SERVER['SCRIPT_FILENAME'], 0, strrpos($_SERVER['SCRIPT_FILENAME'], '/') + 1);

you will need to do this in
index.php
cart.php
viewcategory.php
checkoutgc.php
viewitem.php
and
checkoutpp
line 11 in all of them.

this is due to the newer versions of PHP 5. Which we... they got rid of the adspath command.
Just open the files in word pad or notepad++ and comment out the lines. you will be fine.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.