Error message after install: "failed to open stream:No such file or directory.."

MCM

No avatar

2007-09-13 12:13

Hello,

I have just installed QuickCart v2.2 and it works OK for now (I tryed admin mode, works fine, I added some products, prices etc) as you can se below:

http://www.orange.ba/testtt/

I plan to include QuickCart on my site with PHP include function so I created file "test.php" which includes Quick Cart (http://www.orange.ba/testtt/index.php) but I receive next error message:

"Warning: main(/public_html/testtt/index.php) [function.main]: failed to open stream: No such file or directory in /home/orange/public_html/test.php on line 46

Warning: main(/public_html/testtt/index.php) [function.main]: failed to open stream: No such file or directory in /home/orange/public_html/test.php on line 46

Warning: main() [function.include]: Failed opening '/public_html/testtt/index.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/orange/public_html/test.php on line 46"

You can check it out on next link:

http://www.orange.ba/test.php


Based on information I have found on this site I tought problem was because of my FTP client (Core FTP lite) so I used TotalCommander (ofcourse in binary mod) but it still doesnt work??

Any help is appreciated and thanks in advance for promt replys.

cheers;P

» Quick.Cart v2.x

Adnan

MCM

No avatar

2007-09-13 13:38

I have also try this version <? include ("http://www.orange.ba/testtt/index.php"); ?> instead of <? (/public_html/testtt/index.php); &> and now I gaetting this error:



"Parse error: syntax error, unexpected T_STRING in http://www.orange.ba/shop2/index.php on line 1"

I opened index.php and line 1 is "<?php" .... and I dont see any reasont why it wouldnt work...?

Adnan

MCM

No avatar

2007-09-13 13:38

any suggestions?

Adnan

merci

No avatar

2007-09-14 11:05

MCM - paste here code from test.php where you include Quick.Cart.

MCM

No avatar

2007-09-14 12:04

no problem, here is the exact code:

<? include ("http://www.centralni-servis.co.ba/shop/index.php"); ?>


thanks in advance
Adnan

Adnan

merci

No avatar

2007-09-17 09:14

MCM - it is very dengerus to put url adress there, maybe try make header. I don't have ready solution for that, as I've never done this before.

MCM

No avatar

2007-09-17 12:46

OK, thanks anyway.

I used iframe so the web shop works fine I just have to adjust Iframe SSI script II script to work on Opera and Firefox..

Anyway, I would appreciate if you could delete this topic because I dont need it anymore and it is easyer for you, more space for new topics:P

cheers!

Adnan

Back to top
about us | contact