Roseev / vqmod

Automatically exported from code.google.com/p/vqmod
0 stars 0 forks source link

Please help, i can't install VQMOD on XAMPP using Windows 7 - Administrator index.php not writable #136

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
NOTE THAT THIS IS FOR VQMOD ENGINE ERRORS ONLY. FOR GENERAL ERRORS FROM
MODIFICATIONS CONTACT YOUR DEVELOPER

What steps will reproduce the problem?
1.Attempt to install VQMOD on windows 7, XAMPP local host, Opencart v1.5.5.1
2.Tried automatic install - still end up with the same issue
3.Tried manual install - still end up with the same issue

What is the expected output? What do you see instead?
It should let me install but instead in the browser it just says 'Administrator 
index.php not writable'.

vQmod Version: 2.4.1
Server Operating System: Windows 7

Please provide any additional information below.

I've turned off UAC and i've taken control of the files/folders. 
When i try taking them off read-only, i click apply then ok but when i go back 
into it the read only section is still selected.
I've asked on the opencart forums but no-one has any ideas.
Its in the correct folder as its in .htdocs of the XAMPP installation which is 
on my C: drive.
Nothing is working, i've tried about 20 times since Friday but got nowhere.
I've googled but no luck, everything is just listed for Linux users.
I've checked as many forums as i can think of but can't find a solution.
Please explain any solutions in basic terms and step by step as i'm new to all 
of this and i don't understand a lot of the lingo.

Original issue reported on code.google.com by angehol...@gmail.com on 9 Oct 2013 at 8:26

GoogleCodeExporter commented 9 years ago
Make sure that the admin folder itself is writeable too since that needs to be. 
Make sure it's the same permissions as the /system/cache/ folder if that is 
working

Original comment by DJG6...@gmail.com on 9 Oct 2013 at 8:39

GoogleCodeExporter commented 9 years ago
I've given myself full control of all of the files and folders in .htdocs but 
it still isn't letting me get any further?

Original comment by angehol...@gmail.com on 9 Oct 2013 at 9:35

GoogleCodeExporter commented 9 years ago
Not sure, but I have xampp on win 7 and it works just fine. This is going to be 
down to configuration not the software. You could manually edit if you are 
unable to do this with the installer

Original comment by DJG6...@gmail.com on 9 Oct 2013 at 6:25

GoogleCodeExporter commented 9 years ago
I don't know how to fix the configuration, can you detail exactly what i need 
to do? 
I've uninstalled XAMPP now and tried WAMP instead which i think i like better 
actually but its come up with the exact same issue at the same stage. 
What do i need to manually edit and how do i do it? 
I've had 525 views on my post on the opencart forum but no one seems to be able 
to suggest anything for me, I'd be so grateful if you can help.

Original comment by angehol...@gmail.com on 10 Oct 2013 at 8:15

GoogleCodeExporter commented 9 years ago
I've tried the manual install now and i've got this error coming up when i try 
to access the store homepage:

Parse error: syntax error, unexpected 'require_once' (T_REQUIRE_ONCE) in 
C:\wamp\www\opencart\index.php on line 24

The first section of my index.php file details are below (line 24 is the first 
line of require once underneath application classes). I had to enter the paths 
fully because it wasn't recognising the files were there.

<?php
// Version
define('VERSION', '1.5.5.1');

// Configuration
if (file_exists('config.php')) {
    require_once('config.php');
}  

// Install 
if (!defined('DIR_APPLICATION')) {
    header('Location: install/index.php');
    exit;
}

// vQmod
require_once('C:\wamp\www\vqmod/vqmod.php');
VQMod::bootup();

// VQMODDED Startup
require_once(VQMod::modCheck(DIR_SYSTEM . 'startup.php'))

// Application Classes
require_once(VQMod::modCheck(DIR_SYSTEM . 
'C:\wamp\www\opencart/system/library/customer.php'));
require_once(VQMod::modCheck(DIR_SYSTEM . 
'C:\wamp\www\opencart/system/library/currency.php'));
require_once(VQMod::modCheck(DIR_SYSTEM . 
'C:\wamp\www\opencart/system/library/tax.php'));
require_once(VQMod::modCheck(DIR_SYSTEM . 
'C:\wamp\www\opencart/system/library/weight.php'));
require_once(VQMod::modCheck(DIR_SYSTEM . 
'C:\wamp\www\opencart/system/library/length.php'));
require_once(VQMod::modCheck(DIR_SYSTEM . 
'C:\wamp\www\opencart/system/library/cart.php'));
require_once(VQMod::modCheck(DIR_SYSTEM . 
'C:\wamp\www\opencart/system/library/affiliate.php'));

Why is this error coming up and how do i correct it?

Thanks,
Ange

Original comment by angehol...@gmail.com on 10 Oct 2013 at 10:39

GoogleCodeExporter commented 9 years ago
This line is missing a ; at the end
    require_once(VQMod::modCheck(DIR_SYSTEM . 'startup.php'))

Also, you shouldn't have
C:\wamp\www\opencart/system/
in those paths, so remove that portion of it. For example, the first of the 
application classes should read
require_once(VQMod::modCheck(DIR_SYSTEM . 'library/customer.php'));

Original comment by DJG6...@gmail.com on 10 Oct 2013 at 11:24

GoogleCodeExporter commented 9 years ago
I abandoned this idea, it just kept coming up with more errors so i uninstalled 
VQMOD and Opencart. I've reinstalled them again to go back to the original 
issue of 'Administrator index.php not writable'. Its getting silly though i 
just can't get any further and i really need to get this installed.

Original comment by angehol...@gmail.com on 10 Oct 2013 at 11:26

GoogleCodeExporter commented 9 years ago
Ok, i've just changed the index.php and the admin/index.php files to read 
exactly what it says on the manual install guide - the only change i've made is 
that i've listed the full path for the top section.

I'm now able to go to localhost/opencart and it will show my store, i'm also 
able to go to localhost/opencart/admin and it will let me use my admin.

However when i go to localhost/vqmod/install its still coming up with 
'Administrator index.php not writable' ?

Original comment by angehol...@gmail.com on 10 Oct 2013 at 11:33

GoogleCodeExporter commented 9 years ago
I've given all the guidance I can on this. I have this working just fine on 
Win7 with the latest vQmod without even needing to change permissions. There is 
something screwing up your permissions and its not vQMod

Original comment by DJG6...@gmail.com on 10 Oct 2013 at 11:48

GoogleCodeExporter commented 9 years ago
Running OpenCart on Win7 with WAMP
I had similar issue of 'Administrator index.php not writable'
I had earlier changed the admin folder to something else let say 'newAdmin'
After I changed the code below in vqmod/install/index.php it worked.
$admin = 'newAdmin';

Original comment by alab...@yahoo.com on 16 Jan 2015 at 5:15

GoogleCodeExporter commented 9 years ago
When you say "admin" folder, do you mean the administrator folder?  Some 
extensions create an "admin" folder.  But, I believe you are talking about the 
"administrator" folder.

That said, I am having the same problem with the 'Administrator index.php not 
writable'.  I know the folder and the install file are writeable and have 
confirmed it with the hosting company. I have tried to install, reinstall, 
delete, reinstall the vQmod folder countless times (over 10 hours on this 
problem) and still have not resolved the problem. I am trying to run Mijoshop 
which requires vQmod. So, far, it makes both products look half baked to me.  
Has anyone definitively solved this problem so the rest of us can perform a 
simple modification and move forward?

Original comment by cheaptri...@gmail.com on 8 Feb 2015 at 11:30

GoogleCodeExporter commented 9 years ago
Change Permission of Admin, System/cache/, index.php (root) and index.php 
(admin) to 777 and extract install and xml folder to your previous vqmod 
folder. Type yourdomain.com/vqmod/install (if you updated your both index.php 
files), if you didn't your vqmod version is updated :-) Just did it.. Cheers 

Original comment by stylezpe...@gmail.com on 10 Feb 2015 at 6:38