Post by mswhat298 » Mon Dec 14, 2009 10:24 pm

There's a topic below that brought up this problem but no answers so far.

Upon successful install (XP3, IIS5, PHP5), the links to the storefront or admin panel loops back into the install process over and over and over. No way to get into either area.

I noticed the config.php file is completely blank so I posted a config file from another test machine and it solved the loop problem but with 1/2 page full of errors at the top of the storefront page.

Any input would be helpful. Thanks!

Mike

Newbie

Posts

Joined
Thu Dec 10, 2009 4:14 am

Post by moggiex » Mon Dec 14, 2009 11:46 pm

What are the errors at the top 1/2 of the page?

Not sure how you expect anyone to guess how to resolve if there are no errors to look at ;-)

Matt

Code: Select all

It was like that when I found it, honest!


User avatar
Active Member

Posts

Joined
Mon Nov 09, 2009 9:55 pm

Post by mswhat298 » Tue Dec 15, 2009 12:00 am

The main issue is the system looping back to the install setup once installation is complete. There are no errors of any sort in this area, just a simple redirect back to the install folder when you click on the "proceed to shop" link at the end of install.

I think the error mss are probably the result of a config.php file I pasted from another machine to see what would happen, as my config.php file was totally blank. Not sure they are relevant for the redirect problem I'm having but I can paste them later once I have time.

Thanks!

Mike

Newbie

Posts

Joined
Thu Dec 10, 2009 4:14 am

Post by mswhat298 » Tue Dec 15, 2009 5:36 am

Ok, I replaced the config.php file with one from another system and the loop back to the install folder stops. Here's the error this one gives. I altered the HTTP_SERVER to http://localhost/opencart/ and changed the database properties to match this system.

Thanks,

Mike



Warning: fopen(C:\Inetpub\wwwroot\OpenCart/system/cache/cache.product.latest.1.8.1260829591) [function.fopen]: failed to open stream: Permission denied in C:\Inetpub\wwwroot\OpenCart\system\library\cache.php on line 39Warning: fwrite(): supplied argument is not a valid stream resource in C:\Inetpub\wwwroot\OpenCart\system\library\cache.php on line 41Warning: fclose(): supplied argument is not a valid stream resource in C:\Inetpub\wwwroot\OpenCart\system\library\cache.php on line 43Warning: imagejpeg() [function.imagejpeg]: Unable to open 'C:\Inetpub\wwwroot\OpenCart/image/cache/ipod_classic_1-120x120.jpg' for writing: Permission denied in C:\Inetpub\wwwroot\OpenCart\system\library\image.php on line 43Warning: imagejpeg() [function.imagejpeg]: Unable to open 'C:\Inetpub\wwwroot\OpenCart/image/cache/hp_1-120x120.jpg' for writing: Permission denied in C:\Inetpub\wwwroot\OpenCart\system\library\image.php on line 43Warning: imagejpeg() [function.imagejpeg]: Unable to open 'C:\Inetpub\wwwroot\OpenCart/image/cache/sony_vaio_1-120x120.jpg' for writing: Permission denied in C:\Inetpub\wwwroot\OpenCart\system\library\image.php on line 43Warning: imagejpeg() [function.imagejpeg]: Unable to open 'C:\Inetpub\wwwroot\OpenCart/image/cache/macbook_pro_1-120x120.jpg' for writing: Permission denied in C:\Inetpub\wwwroot\OpenCart\system\library\image.php on line 43Warning: imagejpeg() [function.imagejpeg]: Unable to open 'C:\Inetpub\wwwroot\OpenCart/image/cache/macbook_air_1-120x120.jpg' for writing: Permission denied in C:\Inetpub\wwwroot\OpenCart\system\library\image.php on line 43Warning: imagejpeg() [function.imagejpeg]: Unable to open 'C:\Inetpub\wwwroot\OpenCart/image/cache/macbook_1-120x120.jpg' for writing: Permission denied in C:\Inetpub\wwwroot\OpenCart\system\library\image.php on line 43Warning: imagejpeg() [function.imagejpeg]: Unable to open 'C:\Inetpub\wwwroot\OpenCart/image/cache/apple_cinema_30-120x120.jpg' for writing: Permission denied in C:\Inetpub\wwwroot\OpenCart\system\library\image.php on line 43Warning: imagejpeg() [function.imagejpeg]: Unable to open 'C:\Inetpub\wwwroot\OpenCart/image/cache/imac_1-120x120.jpg' for writing: Permission denied in C:\Inetpub\wwwroot\OpenCart\system\library\image.php on line 43Warning: fopen(C:\Inetpub\wwwroot\OpenCart/system/cache/cache.language.1260829592) [function.fopen]: failed to open stream: Permission denied in C:\Inetpub\wwwroot\OpenCart\system\library\cache.php on line 39Warning: fwrite(): supplied argument is not a valid stream resource in C:\Inetpub\wwwroot\OpenCart\system\library\cache.php on line 41Warning: fclose(): supplied argument is not a valid stream resource in C:\Inetpub\wwwroot\OpenCart\system\library\cache.php on line 43Warning: fopen(C:\Inetpub\wwwroot\OpenCart/system/cache/cache.manufacturer.1260829592) [function.fopen]: failed to open stream: Permission denied in C:\Inetpub\wwwroot\OpenCart\system\library\cache.php on line 39Warning: fwrite(): supplied argument is not a valid stream resource in C:\Inetpub\wwwroot\OpenCart\system\library\cache.php on line 41Warning: fclose(): supplied argument is not a valid stream resource in C:\Inetpub\wwwroot\OpenCart\system\library\cache.php on line 43Warning: fopen(C:\Inetpub\wwwroot\OpenCart/system/cache/cache.currency.1260829592) [function.fopen]: failed to open stream: Permission denied in C:\Inetpub\wwwroot\OpenCart\system\library\cache.php on line 39Warning: fwrite(): supplied argument is not a valid stream resource in C:\Inetpub\wwwroot\OpenCart\system\library\cache.php on line 41Warning: fclose(): supplied argument is not a valid stream resource in C:\Inetpub\wwwroot\OpenCart\system\library\cache.php on line 43Warning: fopen(C:\Inetpub\wwwroot\OpenCart/system/cache/cache.product.bestseller.1.5.1260829592) [function.fopen]: failed to open stream: Permission denied in C:\Inetpub\wwwroot\OpenCart\system\library\cache.php on line 39Warning: fwrite(): supplied argument is not a valid stream resource in C:\Inetpub\wwwroot\OpenCart\system\library\cache.php on line 41Warning: fclose(): supplied argument is not a valid stream resource in C:\Inetpub\wwwroot\OpenCart\system\library\cache.php on line 43

Newbie

Posts

Joined
Thu Dec 10, 2009 4:14 am

Post by mswhat298 » Tue Dec 15, 2009 6:21 am

Ok, problem solved. It was a permissions problem in my opencart directory.

I don't get it, the install procedure indicated the necessary folders were writeable but I guess not. In any event, it seems to be working enough so that I can demo this thing.

There are 2 more threads regarding this same problem I noticed after surfing a bit. For reference, what I did to solve the problem was:

IIS 5.1 on WinXP3
Open dir tree on website
right click the OpenCart directory
select all tasks >>> then permissions wizard
follow the wizard and either select inherit or select from template.

Newbie

Posts

Joined
Thu Dec 10, 2009 4:14 am

Post by spitfires » Tue Apr 20, 2010 1:26 pm

Just wanted to make a note that I too went through this infinite install loop on IIS/Windows. For some reason, OC falsely reports that the files and folders are writeable in the install step 2.

It makes perfect sense however from a security standpoint that once you delete a file or folder during the install/upgrade of OC, that you will have to change permissions. Therefore if you are at step 2 in the install and it says that the folders and files are writeable, and yet you haven't made any changes to the permissions, you should double check the required files and folders, so that anything isn't messed up during the upgrade/install. I.E. config.php files not being properly written to.

Newbie

Posts

Joined
Wed Feb 24, 2010 1:13 pm

Post by chapter5 » Thu Aug 05, 2010 7:28 am

had the same problem. when i go to admin it redirects to the install folder that's not even there anymore...
when i checked the config file in the admin folder it was blank.

used the config from another site changed the URLs and DB details and BOOM!! all working now - me happy :)

Newbie

Posts

Joined
Fri Jul 09, 2010 3:42 pm

Post by carefree » Fri Nov 09, 2012 6:21 am

Thank you for this post! I experience the exact same problem with the loop. I checked my file permissions and sure enough they were not set correctly, even though the progress page said everything was okay. After setting the permissions I just reinstalled the cart and all was well.

But now when I look at my permissions tree it appears that every folder under (and including) my store folder has given everyone write permissions. Is there any problem with this? I didn't think I gave everyone write permissions on all folders?

Newbie

Posts

Joined
Fri Nov 09, 2012 5:45 am
Who is online

Users browsing this forum: No registered users and 2 guests