-
Content count
167 -
Joined
-
Last visited
About Philo2005
- Birthday 12/09/1967
Profile Information
-
Real Name
David Attias
-
Gender
Male
-
Location
Switzerland
-
Interests
stamps, postcards, history of europe
- Website
Recent Profile Visitors
3,140 profile views
-
I downloaded store mode version 1 0 4 0 and in the root directory of the download is a file called storeMode.php (same directory as Documentation.pdf is). Is this correct and where should it go correctly ?
- 73 replies
-
- store mode
- offline
-
(and 1 more)
Tagged with:
-
-
-
You may add this statement to your version, cron jobs will not always take over the directory settings according the online requests. So for me the script works fine with Phoenix 1 0 7 10 without errors and warnings.
-
I found out why the warnings comes up. I renamed the index.php file to gsm_prc.php. I adjusted the configuration table setting for 'GOOGLE_XML_SITEMAP_CREATE_NOW' to the new name of the script. (This because there is already an index.php file on Phoenix root directory which could be a problem.) The cron job could not attach the include files correctly because of wrong directory settings by the cron job itself. I therefore set the directory setting to the actual of the script.php when not running a browser online request. Here I have a proposal of how this could be solved: // set correct working directory for crown job // and select main directory for all // ------------------------------------------------------------ // chdir('/home/user/web/domain.com/public_html/catalog/googlesitemaps/'); if (! isset($_SERVER['HTTP_USER_AGENT'])) { // cron job chdir(__DIR__ . '/'); } chdir('../'); What do you think?
-
yes it is just a warning.
-
well, the online version runs without notice and works correct, so if the cron job fails, i will run the online version afterwards to make sure, the sitemaps file will be generated properly. Anyway if I find something, i will let you know. thanks for helping.
-
PHP Notice: Undefined index: SCRIPT_NAME in /home/www/web587/html/ishop/includes/system/segments/application/request.php on line 17 X-Powered-By: PHP/7.1.1 still same notification 😞 i added some echo commands to dump some variables on the index.php file for tomorrows run at night. These should be shown in the generated mail confirmation.
-
okay Jack, thank you, i have copied file to production after i had a look to it, well in a few hours i will know more.
-
here are my settings:
-
PHP Notice: Undefined index: SCRIPT_NAME in /home/www/web587/html/ishop/includes/system/segments/application/request.php on line 17 X-Powered-By: PHP/7.1.1 Still the same message appears!
-
okay i will try on tonight's cron job.
-
Additional information: This message is shown only when running the cron job, when doing online creation this message is not shown. I found out that IP address of my cron job is 0.
-
PHP Notice: Undefined index: SCRIPT_NAME in /home/www/web587/html/ishop/includes/system/segments/application/request.php on line 17 X-Powered-By: PHP/7.1.1 The last 2 errors are gone, thank you. The first message stays, attached the file of request.php of version 1 0 7 9. The following statement (line 17) in request.php generates the message: $PHP_SELF = substr(parse_url($_SERVER['SCRIPT_NAME'])['path'], strlen(DIR_WS_CATALOG)); Any idea? request.php
-
Google XML Sitemap SEO - 1 0 7 9 Using the addon Google XML Sitemap SEO) (https://apps.oscommerce.com/QN8hJ&google-xml-sitemap-seo) I am getting some error message when running a cron job on php 7.1.1 of attached googlesitemap/index.php: PHP Notice: Undefined index: SCRIPT_NAME in /home/www/web587/html/ishop/includes/system/segments/application/request.php on line 17 PHP Notice: Undefined index: REMOTE_ADDR in /home/www/web587/html/ishop/googlesitemap/index.php on line 49 PHP Notice: Undefined index: SCRIPT_FILENAME in /home/www/web587/html/ishop/googlesitemap/index.php on line 186 Status: 302 Found X-Powered-By: PHP/7.1.1 Somebody can help me? index.php
-
directory images ".htaccess"
Philo2005 replied to Philo2005's topic in osCommerce Online Merchant Community Bootstrap Edition
@ecartz Finally I could arrange with my hostprovider that the "old" .htaccess works without generation system error in my environment (Apache 2-2.2.29)! <FilesMatch "\.(php([0-9]|s)?|s?p?html|cgi|pl|exe)$"> Order Deny,Allow Deny from all </FilesMatch> Options -Indexes Thank you for your help! -
directory images ".htaccess"
Philo2005 replied to Philo2005's topic in osCommerce Online Merchant Community Bootstrap Edition
Thank you for responding @ecartz It seems to be a limitation in .htaccess of my hostprovider. This piece of code is not allowed -:( I will have to talk soon to the provider...