Quantcast
Channel: Scriptcase Forum
Viewing all 223 articles
Browse latest View live

Who is ADMIN?

$
0
0
Can anyone tell me who the user Admin is and/or why he/she does not respond to private messages?

Error: No such table: sc_tbapl

$
0
0
I installed scriptcase 8.1.032 today, using the build in installer, using a mysql db-server on a different machine.
There was no error during installation.
I created a project, using an existing, but empty database (I try to build a testproject with this database), but now, wen I try to create an application i. e. build a grid_application from an existing table, scriptcase gives me the following error an stops:
Error: during access to the db, no such table: sc_tbapl
Error in script: scriptcase\devel\class\interface\nmApplication.cla ss.php linha: 457
Because I did not create this table, I think it's a system-table from scriptcase.
Therefor I think, scriptcase didn't generate it's systemtables during installation.

Is it possible to check that? Or can I do anything making this tables now?

I'm absolutely new to scriptcase so sorry if I do anything wrong.

Hermann

Show a link to a doc in a grid in dependence if doc exists

$
0
0
In every row of a grid I have a link to a pdf file. But not for every single record in the grid a pdf already exist so I would like to hide the link (which is a html image field) where no pdf exists and show the link image when there are pdfs in the db.

How could this be done? Is sc_field_display the right way?

Joe

Problem with Oracle connection Scriptcase 8.1

$
0
0
Hello,
i configured an Oracle connection and the test works fine but when i try to create an application and i select the database i receive an error :
Scriptcase could not connect with the database OR there are no tables imported in this database. You might fix this by doing one of the following options:
  • Check the parameters of the connection at Edit Connection.
  • Make sure you have imported your application tables to this new database.
The user of the connection is the owner of the schema data an there are a lot of tables.
It is a 11g r2 Oracle db and i'm usign the 12c istant client 32 bit.

What could be the problem (the test connection works) ?

Gianpaolo

Tapatalk integration?

Production environment configuration problem on new server with CentOS 7

$
0
0
I am installing on a new production server (CentOS 7) and am getting this error when configuring the production environment for the first time:

Connection Error
mysql_connect(): Headers and client library minor version mismatch. Headers:50541 Library:100112


Now the funny thing is that I can specify Connection Name, DBMS Type (MySQL (Transaction)), Username, Password and press the "Test Connection", which gives me:
"Connection Success".

It is only when I then move focus to the selection list field Database Name that that the error comes after a short delay (where it probably is trying to get a list of database names).

phpinfo:
PHP Version 5.4.16
Build Date Jun 23 2015 21:18:22
Server API Apache 2.0 Handler

Any ideas about what may be wrong?

$_SERVER and other things that are interesting.

$
0
0
On installation you may (or not) notice that you can not write into $_SERVER e.g. this little program does not allow changes in your $_SERVER
PHP Code:
<?php
print_r
($_SERVER);
echo 
'<br><br>';
$_SERVER['MYTEST']='FAIL OR SUCCEED';
print_r($_SERVER);
?>
The solution is to edit the httpd.conf in your c:\Program Files (x86)\NetMake\v8\components\apache\conf\ directory and uncomment the line to:
LoadModule headers_module modules/mod_headers.so


Underscoring seems to be an interesting issue too...

see:
http://php.net/manual/en/reserved.variables.php

speed up generating source code and loading between apps in dev?

$
0
0
anybody feels like small lag when opening applications in development it takes like few seconds, and also when generating the source code... i would love to see it faster, any idea?

bulk mail does not sent through scriptcase app

$
0
0
when i trying to sent approx 1000-1100 bulk mail using script case app.the app does not works properly and messages not send to any users.
However while trying to 5- 6 mails it runs okay.
can any one suggest me whats going wrong?

Totalling variables

$
0
0
Hi,

I need modify the totals line in a summary, I tried with the "totalling variables" described in the macro's documentation section, but it seems modify that variables not works, totals in summary doesn't change.

Somebody has used that variables?

Scriptcase 8.1.032 - issue with custom mysql sql request

$
0
0
Hello,

I don't understand why this sql request generate a malfonction when I activate the refined search function inside my grid.

Sql Request :
SELECT t.Id as ID,
t.name as Titre,
t.status as Statut,
t.priority as Priorité,
t.slas_id as SLAs,
GROUP_CONCAT(DISTINCT concat(us.realname,' ',us.firstname) SEPARATOR ',') AS "Bénéficiaire FIDAL",
GROUP_CONCAT(DISTINCT concat(uv.realname,' ',uv.firstname) SEPARATOR ',') AS Technicien,
t.itilcategories_id as catégorie,
t.requesttypes_id as Source,
t.due_date as "Date d'échéance + Progression",
t.takeintoaccount_delay_stat as "Délai de prise en compte",
gg.name as "Groupe de techniciens",
t.users_id_recipient as Rédacteur,
GROUP_CONCAT(DISTINCT concat(uz.realname,' ',uz.firstname) SEPARATOR ',') AS "Demandeur FIDAL",
coalesce(s.satisfaction, '0') as Satisfaction,
s.comment as Commentaires,
t.locations_id as Lieu,
count(w.tickets_id_1) as "Nombre de ticket dupliqués",
t.solve_delay_stat "Délai de résolution",
t.close_delay_stat "Délai de clôture",
t.waiting_duration "Délai en attente",
t.type as Type,
t.solvedate as "Date de résolution",
t.Date as "Date d'ouverture",
y.date as "Date Escalade Groupe SVP"
FROM glpi_tickets t
LEFT JOIN glpi_groups_tickets g
ON t.ID = g.tickets_id
LEFT JOIN glpi_tickets_users u
ON t.ID = u.tickets_id and u.type = 1
LEFT JOIN glpi_tickets_users v
ON t.ID = v.tickets_id and v.type = 2
LEFT JOIN glpi_tickets_users z
ON t.ID = z.tickets_id and z.type = 3
LEFT JOIN glpi_users us
ON u.users_id = us.id
LEFT JOIN glpi_users uv
ON v.users_id = uv.id
LEFT JOIN glpi_users uz
ON z.users_id = uz.id
LEFT JOIN glpi_groups gg
ON g.groups_id = gg.id
LEFT JOIN glpi_ticketsatisfactions s
On t.Id = s.tickets_id
LEFT JOIN glpi_tickets_tickets w
On t.Id = w.tickets_id_1
LEFT JOIN glpi_tickettasks y
On t.Id = y.tickets_id and y.is_private = 1 and y.state = 0 and y.content REGEXP "Escalade" AND y.content REGEXP "SVP|Administration" and users_id_tech = 0
WHERE t.is_deleted = '0'
Group by t.Id

Best Regards

Mehdi

Fatal error: Call to undefined function StartIncItensCoolJsMenu() i

Open for Weekend Projects

$
0
0
Hello guys;

I'm looking for short projects to work on during weekends, If you guys are interested on me helping you please let me know.

regards

kafecadm

Links don'work from grid to open a form since last update

$
0
0
I have a link to an app in a grid. Before last update, clciking on that link open the form, since last update, nothing happens ......
Error seen in my console log:
Reference error: ajax_save_ancor is not defined.
nm_gp_submit5()
<anonyme>


Someone has an idea ??

Thanks

Sylvain

cannot sync workbench

$
0
0
This is not directly related to SC but it is MySQL/Workbench question/issue.
Never had that error before. I just updated my table (Added 5 new columns) Trying to sync mySQL Workbench with remote server but when I do this I get errors

HTML Code:
Executing SQL script in server
ERROR: Error 1054: Unknown column 'Facebook' in 's_staff'
SQL Code:
        ALTER TABLE `klon56_tecrep`.`s_staff`
        CHANGE COLUMN `Email` `Email` VARCHAR(80) NULL DEFAULT NULL AFTER `EmergencyPhone`,
        CHANGE COLUMN `PinCode` `PinCode` CHAR(4) NULL DEFAULT NULL AFTER `Facebook`,
        CHANGE COLUMN `UserActive` `UserActive` VARCHAR(3) NULL DEFAULT NULL AFTER `PinCode`,
        CHANGE COLUMN `Activation` `Activation` DATE NULL DEFAULT NULL AFTER `UserActive`,
        CHANGE COLUMN `AdminPriv` `AdminPriv` VARCHAR(3) NULL DEFAULT NULL AFTER `Activation`,
        CHANGE COLUMN `AdminFlag` `AdminFlag` CHAR(1) NULL DEFAULT NULL AFTER `AdminPriv`,
        CHANGE COLUMN `Language` `Language` VARCHAR(30) NULL DEFAULT NULL AFTER `AdminFlag`,
        CHANGE COLUMN `Signature` `Signature` BLOB NULL DEFAULT NULL AFTER `Language`,
        CHANGE COLUMN `RegistrationDate` `RegistrationDate` DATE NULL DEFAULT NULL AFTER `Signature`,
        CHANGE COLUMN `Active` `Active` VARCHAR(1) NULL DEFAULT NULL AFTER `RegistrationDate`,
        CHANGE COLUMN `Continent` `Continent` VARCHAR(45) NULL DEFAULT NULL AFTER `Active`,
        CHANGE COLUMN `CompanyID` `CompanyID` INT(11) NULL DEFAULT NULL ,
        CHANGE COLUMN `Stamper` `Stamper` TIMESTAMP NOT NULL ,
        ADD COLUMN `Skype` VARCHAR(30) NULL DEFAULT NULL AFTER `Email`,
        ADD COLUMN `ICQ` VARCHAR(30) NULL DEFAULT NULL AFTER `Skype`,
        ADD COLUMN `Facebook` VARCHAR(80) NULL DEFAULT NULL AFTER `ICQ`,
        DROP PRIMARY KEY,
        ADD PRIMARY KEY (`StaffID`, `Stamper`)

SQL script execution finished: statements: 3 succeeded, 1 failed

Fetching back view definitions in final form.
Nothing to fetch
I can add this same column through phpMyAdmin but not from the Workbench Sync. Found lots of recerences to this Error on line but none of them pertrains to MySQL workbench. Any ideas ?





ARTHUR

Distributed Version Control Systems (e.g. GitHub or Bitbucket) to Deploy applications

$
0
0
Having to deploy an increasing number of projects to an increasing number of servers, I have been thinking about doing it more efficiently. So far I have just deployed the packages created by ScriptCase using SSH and SCP. However, as the numbers grow, so does the manual work. Thus, I have been considering using a distributed version control systems. There are a number available, some paid, some open source.

Does anyone here care to share good or bad experiences they have had, using such for ScriptCase deployment?

Is it possible to hide/show &quot;pages&quot; like it's possible with &quot;blocks&quot;?

$
0
0
Good morning,

I know the macro sc_block_display to hide or show blocks. Is there something similar to hide or show pages?

Joe

An external library thing

$
0
0
The new external library feature is nice, but not always (maybe even not most of the time) usuable as one would think at first sight. When importing a library (with the zip-extract) the external library lands nicely inside the Scriptcase installation, but when this external library uses internal requires or includes it doesn't work. You have to replace al those internal require-calls with the SC-macro sc_include_library. Not a big thing when the external library is small, but not very usuable for a big external library with internal require-calls all over the place at all sorts of levels.

dm_ireport2php: advanced features for Jasper iReport

$
0
0
English
----------
Hello to all.
For those interested in generating pdf reports with iReport, I'm putting up the functions that interact with PHPJasperXML (updated in some parts, and added new features) by sending data through arrays both iReport that the query that will be executed within iReport.
Create visual reports with iReport, decoding, generates pdf and send email with dm_ireport2php
Ability to create standard reports and versions of the same report for different companies, groups and users
Resource files for language translation using the same report
Without going in the feature, I put all the necessary download, doc and for testing scripts http://www.dmatik.com/dm_ireport2php.html
Other features are in the works to this vers. 1:00
All usable for any use and purpose.
Hello
Enrico


Romanian
--------------
Bună ziua tuturor.
Pentru cei interesați în generarea de rapoarte pdf cu iReport, eu pun functiile care interactioneaza cu PHPJasperXML (actualizat în unele părți, și am adăugat noi caracteristici) prin trimiterea de date prin matrici atât iReport că interogarea care va fi executat în iReport.
Crearea de rapoarte vizuale cu iReport, decodare, generează pdf și trimite e-mail cu dm_ireport2php
Abilitatea de a crea rapoarte standard și versiuni ale aceluiași raport pentru diferite companii, grupuri și utilizatori
Fișierele de resurse pentru traducerea limbajului utilizând același raport
Fără a merge în caracteristica, am pus toate descărcare necesare, doc și pentru script-uri de testare http://www.dmatik.com/dm_ireport2php.html
Alte caracteristici sunt în lucrările acestui Vers. 1:00
Toate utilizabile pentru orice utilizare și scop.
Salut
Enrico


Italiano
----------
Ciao a tutti.
Per chi fosse interessato a generare report pdf con iReport, sto mettendo a punto delle funzioni che interagiscono con PHPJasperXML (aggiornato in alcune parti e aggiunte nuove funzionalità) inviando dati tramite array sia a iReport che alla query che sarà eseguita all'interno di iReport.
Crea visual report con iReport, decodifica, genera in pdf e invia email con dm_ireport2php
Possibilità di creare report standard e versioni dello stesso report per aziende, gruppi e utenti diversi
Resource file per traduzione in lingua utilizzando uno stesso report Senza dilungarmi nell'elenco delle funzionalità, ho messo tutti i download necessari, doc e gli script per i test in http://www.dmatik.com/dm_ireport2php.html
Sono in lavorazione altre funzionalità a questa vers. 1.00
Tutto utilizzabile per qualsiasi uso e scopo.
Ciao
Enrico

Column Alignment BUG - SECOND REQUEST

$
0
0
I reported this bug 2 months ago. No fix so far ! PLEASE FIX IT

When using a lookup column (to display related data from another table) the fields are centered. The alignment setting for the column has no effect and no matter what I do the fields are centered (while I want the column aligned to the LEFT) ! Array



the settings screen in the second image




Viewing all 223 articles
Browse latest View live