Shipping Modules not showing up
#1
Posted 02 January 2006, 22:26
I am trying to install a shipping module, I followed the instructions and uploaded files where they needed to be, but when I went to the shipping modules page in the admin section, none of the modules are showing up. I had osCommerce set up locally, and it is working on my machine, this problem started when I uploaded it to my hosting server. I thought it must be an error with the configure.php, an incorrect path- but I have made sure this path is correct, and even tried a few different paths to see if i would get lucky, but didn't, what else could be causing this?
Thanks for your help!
Alan
The Next Wave
#2
Posted 02 January 2006, 22:40
Kevin
(By Kwalker)
What do you see when you open up the tep_database-pr2.2-CVS.pdf file that came with your osCommerce download?
#3
Posted 02 January 2006, 22:44
If the files do exist there on your server, then it's possible that those files were uploaded in binary mode from your PC, preserving the DOS-style line termination instead of auto-converting them (most decent FTP clients do this) to UNIX mode.
-jared
#4
Posted 02 January 2006, 22:56
any other ideas?
Alan
#5
Posted 02 January 2006, 22:57
-jared
#6
Posted 02 January 2006, 23:36
#7
Posted 02 January 2006, 23:44
Kevin
(By Kwalker)
What do you see when you open up the tep_database-pr2.2-CVS.pdf file that came with your osCommerce download?
#8
Posted 03 January 2006, 01:56
hmm..
thanks for your help with this,
alan
#9
Posted 03 January 2006, 04:29
#10
Posted 22 September 2007, 14:11
Module Directory: /home/www/My_store/includes/modules/payment/
Module Directory: /home/www/My_store/includes/modules/shipping/
on the admin pages...
Any ideas?
#11
Posted 18 December 2007, 03:38
My service provider updated to PHP5 and surprise my OSrc1 version stopped allowing me to login to the admin console. I then installed OS ms2.2 and there is no secure login, so I solved that problem, now I can't install the modules and get the same problem below. I am positive that it has something to do with PHP5.
I hope there is a solution...I am still looking. I have tried a number of posts on the site without success. My configure.php file is correct, my modules.pho will was modified as in a previous post etc etc
Help!
Regards
Goldern
mcksly, on Sep 23 2007, 01:11 AM, said:
Module Directory: /home/www/My_store/includes/modules/payment/
Module Directory: /home/www/My_store/includes/modules/shipping/
on the admin pages...
Any ideas?
#12
Posted 09 April 2008, 23:31
-very frustrated
#13
Posted 10 April 2008, 20:27
ya_dood, on Apr 10 2008, 01:31 AM, said:
if ($dir = @dir($module_directory)) {
That surpresses error messages, something you don't want at this stage.I recall a member who had a similar problem. It turned out the host had set safe_mode and the dir function could not be used to read the directory
#14
Posted 12 April 2008, 14:46
Jan Zonjee, on Apr 11 2008, 06:27 AM, said:
if ($dir = @dir($module_directory)) {
That surpresses error messages, something you don't want at this stage.I recall a member who had a similar problem. It turned out the host had set safe_mode and the dir function could not be used to read the directory
I am also having this same problem, I also have an issue when I click on the "catalog" option in the menu, it cannot find the "images" directory. Jan, your suggestion regarding the host setting "safe_mode" sounds very logical, as I had tested my implementation 100% on my local testing server, only to find these aren't working since uploading onto the live server.
I removed the @ in line 112 of admin/modules.php and it now shows a more detailed error
[indent]Warning: dir(http://www.<domain name>/catalog/includes/modules/payment/) [function.dir]: failed to open dir: not implemented in /catalog/admin/modules.php on line 112[/indent]
My live server is administered by a third party company, what should I be asking them to change regarding the "safe_mode" setting? Sorry for my vague question, I don't know much about Unix/Linux web servers.
#15
Posted 12 April 2008, 15:06
rloberto, on Apr 13 2008, 12:46 AM, said:
Is the "safe_mode" a setting in their php.ini ? I've just run a phpinfo() on my test server and the live server and found the following lines in the output, exactly the same for both test and live
Configuration - PHP Core
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
PHP Version
Test Server : PHP 5.2.0
Live Server : PHP 4.4.8
Is it possible that it's just a PHP version issue? It would be very annoying if that is the case. I can't see the hosting administrators wanting to upgrade their PHP version to 5.2.0
#16
Posted 12 April 2008, 15:32
On the live server I went into the Admin page, then into Tools > Server Info.
I searched for "DOCUMENT_ROOT" then copy and pasted the value for that field into
admin/configure.php and added the catalog directory onto the end of it.
define('DIR_FS_CATALOG', '/home2/www/public_html/catalog/');
This fixed both the images folder issue and the modules issue. I have tested installing/removing modules and it's all working ok.
I have noticed I am getting an error for the Backup directory not existing, it does exist, and it's listed correctly in the configure.php, but I'm too tired to try and fix it now.
#17
Posted 12 April 2008, 15:39
rloberto, on Apr 12 2008, 05:06 PM, said:
Configuration - PHP Core
Directive | Local Value | Master Value
safe_mode | Off | Off
Quote
define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)
You could try: define('DIR_FS_DOCUMENT_ROOT', $_SERVER['DOCUMENT_ROOT']);
There should no http://www.etcetera in there, the FS refers to: Filesystem (physical) not the WebServer url's.You found it yourself I see now. The backup directory will also throw an error when it is not writable for the webserver. Best to rename the backups directory to something not so easily guessable (and change it in the yourenamedtheadmindirectoryihope/includes/configure.php).
#18
Posted 07 May 2008, 23:18
rloberto, on Apr 12 2008, 11:32 AM, said:
On the live server I went into the Admin page, then into Tools > Server Info.
I searched for "DOCUMENT_ROOT" then copy and pasted the value for that field into
admin/configure.php and added the catalog directory onto the end of it.
define('DIR_FS_CATALOG', '/home2/www/public_html/catalog/');
This fixed both the images folder issue and the modules issue. I have tested installing/removing modules and it's all working ok.
I have noticed I am getting an error for the Backup directory not existing, it does exist, and it's listed correctly in the configure.php, but I'm too tired to try and fix it now.
This fix helped me so much that I registered here to tell you how much you've helped. I love these forums! I would never have been able to install authorize.net or paypal or even a UPS shipping module without this fix.
I am constantly amazed at how helpful people are here.
#19
Posted 01 September 2008, 19:35
rloberto, on Apr 12 2008, 11:32 AM, said:
On the live server I went into the Admin page, then into Tools > Server Info.
I searched for "DOCUMENT_ROOT" then copy and pasted the value for that field into
admin/configure.php and added the catalog directory onto the end of it.
define('DIR_FS_CATALOG', '/home2/www/public_html/catalog/');
This fixed both the images folder issue and the modules issue. I have tested installing/removing modules and it's all working ok.
I have noticed I am getting an error for the Backup directory not existing, it does exist, and it's listed correctly in the configure.php, but I'm too tired to try and fix it now.
*EDIT- duh! I just added the DOCUMENT_ROOT path to the DIR_FS_ADMIN line and... well, that solved the backups issue.
Hey - I had the same issue... and this fix resolved my dilemma as well. I too am having the trouble with the backups folder, did you ever resolve this too?
Edited by oneshotenter, 01 September 2008, 19:42.
#20
Posted 01 October 2008, 05:31
rloberto, on Apr 12 2008, 09:02 PM, said:
On the live server I went into the Admin page, then into Tools > Server Info.
I searched for "DOCUMENT_ROOT" then copy and pasted the value for that field into
admin/configure.php and added the catalog directory onto the end of it.
define('DIR_FS_CATALOG', '/home2/www/public_html/catalog/');
This fixed both the images folder issue and the modules issue. I have tested installing/removing modules and it's all working ok.
I have noticed I am getting an error for the Backup directory not existing, it does exist, and it's listed correctly in the configure.php, but I'm too tired to try and fix it now.
Thanks.....I got the same issue for admin modules didn't display ...
but it worked when I changed DIR_FS_CATALOG value in admin/includes/configure.php as specified above
Thanks again....














